cancel
Showing results for 
Search instead for 
Did you mean: 

Approval for the same task from multiple users

Former Member
0 Kudos

Hello,

I have a bpm case that the number of approvers are dynamic for a particular task, which the task is; to review information, thats it, nothing to add..

Here is the scenario; the first approver will review the the information and if approves, the same task should be assigned to the second approver, and if the second approves the same task, it should be assigned to the third one.. this looping should be dynamic for the same task based on a approvers table that comes from web service.

BPMN should be something like this, right ?

So, is this kind of looping possible ?

Regards,

Yasin

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

two approach ...

  1. Task is initiated and approver opens the UI screen and approves the task.

At that instance close the existing task and raise a new task from UI screen fetching the approver from WS*.

   2. Second approach is to do this in BPM, again just fetch the next approver in BPM till it's not null          from WS* and keep initiating it in the loop. You would need 2 other variables like "approve" or  "rejected" to handle rejection.

Hope this helps

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello All,

Thanks for the replies, completed the bpm case successfully..

Regards,

Jocelyn_Dart
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Yasin,

So you are you trying to implement:

Sequential approvals by different approvers in a list - i.e. each approver gets a task in turn.. presumably if one of the approvers rejects you want to stop the approvals and go back to the requestor?

Yes that's fine ... but you may need to add a few steps or at least some clarifications.

a) firstly to assign the first approver in the list before the first approval, e.g. on entry to the process

b) secondly to increment some sort of index counter and choose the next approver from the list - ok maybe you are planning to do that in the mapping (maybe using the count, get, and numeric-add functions) but that could get a little confusing.  It might make for a clearer process description to show the counter increment in the process anyway, perhaps as a mapping step?

c) thirdly to handle the rejection - ok so maybe you just exit the process at the first rejection and its managed in the gateway? You might want to consider adding that to an annotation to make it clearer?

Hope that helps.

Regards,

Jocelyn

Former Member
0 Kudos

hI,

Yes you can pass approver in the expression and at runtime server will calculation after parsing the expression variable who the approver is.

Thanks

Manish

Former Member
0 Kudos

Also you have to change the implementation of complete event in wd , so based on final approval(based on some context variable) you can mark it to complete.