How to assign a Team or User to an activity dynamically in IBM BPM
From IBM BPM v8.5, the Assignment options which were there before such as "Last User in the lane", "Routing Policy", "List Of Users" and "Custom" were deprecated an can no longer be used for the Task Assignments. In older version the option "Custom" was being used for dynamic assignment of Team or User to a Task. In the latest versions of IBM BPM i.e., from V 8.5.0 a new way of assignment has been introduced i.e., using the "Team Filter Service".
In this post, let us look at a code sample illustrating the Dynamic task assignment for user using Team Filter Service.
As a first step create a simple BPD with one Activity with a Human Service. Click on the activity and navigate to Properties --> Assignments and click on new in-front of "Team Filter Service" to create a new Integration service (team filter service) as shown in below figure or select an already created service.
In this post, let us look at a code sample illustrating the Dynamic task assignment for user using Team Filter Service.
As a first step create a simple BPD with one Activity with a Human Service. Click on the activity and navigate to Properties --> Assignments and click on new in-front of "Team Filter Service" to create a new Integration service (team filter service) as shown in below figure or select an already created service.