on 12-23-2015 12:27 PM
Hi,
I want a user to see a task in his inbox when a task is being processed by another user(i.e. manager assigned task to a user and possibly he might want to reassign the task to another user). Make a user as contributor to the task is the solution, but I want to do it progmatically and unfortunatelly I didn't found appropriate method in api...
Hi ,
If I understood your requirement correctly, you can use the TaskInstanceManager API for this.
Lets say,
User 1 - User to whom the task should be assigned.
User 2 - Actual owner of the task(One of the potential owner acting upon the task)
You can first invoke delegate method to User 1 from the API.
Then trigger release method from the same API.
End result would be that User 1 would become part of the potential owners list.
Best Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zakhar,
I think Rohit proposal would not work the way you would expect it. His suggestion would mean that the User 1 would see that task in his inbox. However, if User 2 claims it again, User 2 becomes actual owner which automatically removes it from User 1´s inbox.
The feature of sharing a task in SAP BPM is not available via the public API. You can only invite contributors via the default task UI.
Depending on your concrete use case, one option might be to use task administrators in SAP BPM. As part of the task definition you can define a set of administrative users who can see the task in the Netweaver Administrator tool and assign these tasks to new users.
Best regards,
Stefan
Development Support
SAP BPM
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.