Skip to Content
0
Former Member
Oct 29, 2013 at 05:57 PM

Change Task Owner in BPM

71 Views

Hello SAP BPM experts!

I'd like some help in how to change the task owner after the it has been created.

Consider the following scenario:

The requester fills up a table form, choosing an approver for which one of the rows entered.

In the next step, we have a Looping Activity that goes for which one of the approvers chosen in the previous step.

What if the requestor may change the approver after the request has been sent?

I'm thinking in the following options:

  • Option 1: In the NetWeaver 7.3EhP1 BPM API, I could create an EJB to look for the TaskInstanceId and then call nominate() with the user chosen by the user.
  • Option 2: I could model in BPM some way to cancel the Multi-Activity, and then return the flow so that the requestor change the approvers he wants.

Am I in the right direction?

Any help would be great!

Thanks a lot,

Thales Pires