cancel
Showing results for 
Search instead for 
Did you mean: 

Showing where the particular instance is in the workflow

nmorado
Champ on-the-rise
Champ on-the-rise

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.

3 REPLIES 3

cjose
Elite Collaborator
Elite Collaborator

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..

nmorado
Champ on-the-rise
Champ on-the-rise

would you mind pointing me to the process model apis?

nmorado
Champ on-the-rise
Champ on-the-rise

no worries - got it already