I'm using this quickstart to create a process that returns all the current running tasks. If you look at the code, if the current task status == 100 then it is a completed task. What is the constant for a running task?
I've looked here but it doesn't list a constant the equates to still running. Is this the correct way to go about this or should I be trying something different?
Solved! Go to Solution.
Views
Replies
Total Likes
This link should take you to the TaskStatusTypes javadocs.
There are 4 status' for active tasks, CREATED (1) and CREATED_SAVED (2) for active tasks that start processes, where the process instance isn't created until this task is completed, and ASSIGNED (3) and ASSIGNED_SAVED (4) for active tasks associated with a process instance. The _SAVED status means that an incremental save of the data was done such as Save To Drafts from Workspace.
Non-active tasks are COMPLETED (100), DEADLINED (101) and TERMINATED (102), note that all are >= to the COMPLETED status, so conversely, any status < COMPLETED is active.
Views
Replies
Total Likes
This link should take you to the TaskStatusTypes javadocs.
There are 4 status' for active tasks, CREATED (1) and CREATED_SAVED (2) for active tasks that start processes, where the process instance isn't created until this task is completed, and ASSIGNED (3) and ASSIGNED_SAVED (4) for active tasks associated with a process instance. The _SAVED status means that an incremental save of the data was done such as Save To Drafts from Workspace.
Non-active tasks are COMPLETED (100), DEADLINED (101) and TERMINATED (102), note that all are >= to the COMPLETED status, so conversely, any status < COMPLETED is active.
Views
Replies
Total Likes