on 10-29-2013 5:57 PM
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:
Am I in the right direction?
Any help would be great!
Thanks a lot,
Thales Pires
Hi Thales,
I would prefer option 2. It is better to re-model your process by letting requester to cancel the looping process and change the approver.
If you use API, you will lose some monitoring capabilities of NetWeaver BPM.
Best,
Abdulbasit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply Abdulbasit Gulsen.
The Option 2 is the only one we have above NetWeaver 7.3EhP1, isn't it?
Regards,
Thales Pires
You don't need any EHP1 specific feature here. You can re-model your design using standard modelling tools.
One example might be:
Create a parallel task to your main task which can be claimed by the requester and allows him to select new approver. After the requester selects approver, you can create a new process with new approver and cancel the current task.
Depending on your requirements, you might also handle this situation in the same process using events and/or sub-processes.
Best,
Abdulbasit.
You can terminate the running task and start a new task by using the parallel task method that I've suggested. Alternatively, insert a sub-process which contains your multi-instance activity and terminate the sub-process and start it again with the new approver using parallel task method.
If you don't like the parallel task method, you can put an parallel event to terminate the process/sub-process and use java to trigger this event outside of the process.
I hope it is more clear now..
Best,
Abdulbasit.
Yes, that's exactly what was on my mind.
BTW, I didn't understand the reason for the exclusive choice "Change Approver" after the event. This event will be triggered only when you want to change the approver. So, what is the reason for making this check ?
Anyway, I hope this design will solve your problem.
Regards,
Abdulbasit.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.