Try OpenEdge Now
skip to main content
BP Server Developer's Guide
Work item management : Assigning work items : Assigning an available work item

Assigning an available work item

*public void assign(String performer)
This API helps in assigning an available work item to a given performer. The performer can be an user, group of users, an external application, system or a script.
Consider that a work item is available but not assigned. Using this API, member1 can assign the work item to self by setting the performer as member1.
Note: If the work item is already assigned, then invoking this API throws an exception.