cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement go-back and delegation?

kingsword
Champ in-the-making
Champ in-the-making
hi

We are developing Operational Risk Management System for bank. We need a technical solution to implement go-back scenario and delegation scenario.
In go-back scenario user can send application back to previous node in work flow. We use a exclusive gateway which makes  decision whether go back or not. But how we can get the user who submit the application at previous node from other candidates in same group.
In delegation scenario A can entrust his tasks to B. B can list the tasks which is commissioned by A and do them. How to deal with it?

Who can give us some suggestions?
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
But how we can get the user who submit the application at previous node from other candidates in same group.

That user will be filled in as assignee of the previous task in the history, so you could retrieve it there.
As alternative, you can have a task listener that stores the previous owner in a process variable on a task completion event.

In delegation scenario A can entrust his tasks to B. B can list the tasks which is commissioned by A and do them. How to deal with it?

That is currently not supported out of the box in the engine.
The easisest at this point would be to add B as candidate-user to each task which is assigned to A.

kingsword
Champ in-the-making
Champ in-the-making
But how we can get the user who submit the application at previous node from other candidates in same group.

That user will be filled in as assignee of the previous task in the history, so you could retrieve it there.
As alternative, you can have a task listener that stores the previous owner in a process variable on a task completion event.

Directly from database?Have any API?

hamed
Champ in-the-making
Champ in-the-making
Hi
I have a same problem, how ?