This topic applies only to the IBM Business Automation Workflow Advanced
configuration.

Optimizing people assignments for work baskets

If you have many tasks within a work basket and often update the people assignments for those tasks, you might get a runtime exception: WorkItem update in progress at the time of updating the assignments. You can avoid these runtime exceptions by enabling the optimized work item model.

About this task

Frequent role updates on work baskets can take time and might have to be processed asynchronously in several slices or database transactions. The time that is required and number of slices depend on the number of tasks in the work basket and the number of users and roles assigned to users on the work basket. With large work baskets, subsequent work basket role updates can be triggered before current updates are processed. As a consequence, you receive a work item update in progress exception. The optimized work item model prevents these runtime exceptions and can improve performance.

Procedure

To enable the optimized work item model, complete the following steps in the WebSphere® Application Server administrative console:

  1. Click Servers > Clusters > WebSphere application server clusters > cluster name, then on the Configuration tab, in the Business Process Manager section, expand Business Process Choreographer and click Human Task Manager. In the Additional Properties section, click Custom Properties.
  2. Change the value of the WorkBasket.optimizePeopleAssignment custom property to true, then save your changes.
  3. Restart the server or cluster to make the changes effective.