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.
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..
would you mind pointing me to the process model apis?
no worries - got it already
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.