07-31-2017 01:08 PM
Hi
I have a requirement where i need to show to users where a particular process instance is in workflow.
Is there any API that will provide me with these information?
At the minimum, if i can get:
- all completed tasks
- all active tasks
- all tasks in the future (not active yet pending completed of active tasks)
then maybe i can reconstruct a cheap way of addressing the requirement.
BTW - i need to show this outside of activiti-explorer.
Appreciate any help on this.
08-01-2017 01:47 AM
Yes, the REST APIs can easily return both completed and active tasks (Check Task APIs and History APIs)
Getting the future tasks is a little tricky especially if the process is complex with exclusive/event/inclusive gateways...In order to find that you will need to use one of those process model apis and find out what is not executed yet by comparing it with the task api results and/or historic activity instances
Hope this helps..
08-01-2017 08:43 AM
would you mind pointing me to the process model apis?
08-01-2017 09:10 AM
no worries - got it already
Explore our Alfresco products with the links below. Use labels to filter content by product module.