uEngine5 BPMS that totally re-written in Microservices architecture. uEngine5 can act as not only a conventional Workflow or BPMS but also as a REST api orchestrator or a BPaaS (Business process as a service) of members of OCE's MSA components.
MIT License
10
stars
13
forks
source link
WorkItemService and work-item-handler tag component #10
if you changes the worklist.status to following values and POST it, it will be:
'COMPLETED': workitem will be completed,
'DRAFT': workitem will be saved with the changes.
'CANCELLED': workitem will be skipped.
the state mapping are found at : DefaultWorkList.java:
public class DefaultWorkList implements WorkList{
public final static String WORKITEM_STATUS_DRAFT = "DRAFT";
public final static String WORKITEM_STATUS_NEW = "NEW";
public final static String WORKITEM_STATUS_CONFIRMED= "CONFIRMED";
public final static String WORKITEM_STATUS_RESERVED = "RESERVED";
public final static String WORKITEM_STATUS_REFERENCE= "REFERENCE";
public final static String WORKITEM_STATUS_COMPLETED= "COMPLETED";
public final static String WORKITEM_STATUS_CANCELLED= "CANCELLED";
public final static String WORKITEM_STATUS_SUSPENDED= "SUSPENDED";
//When user delegate a workitem, the workitem's status whould be changed to this status and another workitem.
public final static String WORKITEM_STATUS_DELEGATED= "DELEGATED";
WorkItemService that
GET will returns:
if you changes the worklist.status to following values and POST it, it will be:
the state mapping are found at : DefaultWorkList.java: