How to complete the ownerless task in BPM
JinShang 110000EPES Visits (5650)
In Business Process Mananger (BPM) process, some clients use the team filter service to assign certain users to an activity. When the process is running on the production environment, only the specific users are qualified to claim the tasks. If the authorized users are not available to deal with the tasks, for example if the users have left the company, how can you deal with the 'ownerless' tasks in BPM? In this blog entry, I will introduce one solution to handle the situation and move the process forward.
Let's talk about the solution thru an example. Below is an image of a process containing an activity "Manager Review". The activity is assigned to a certain user through the team filter service "filteredTeam".
Now the process instance is created and the task is only visible for user Tony.
Let's assume user Tony has left the company. Then the task becomes ownerless and no one can claim it. The system admin logs into the process admin console and tries to reassign the task to himself.
But the authorization error is encountered and the task is not reassigned.
In this situation, the REST API "Assign Task To Me" is helpful. The eligible roles of the REST API include BPM administrator and Process application administrator. For details about the REST API, please refer to section "RES
The following screen image demonstrates the task is assigned to user admin successfully after using the REST API.
Now the user admin is the task owner who is authorized to deal with the task. The screen image below shows that the task is visible for the user admin on process portal. This is a solution to deal with the ownerless tasks in BPM.