
With the help of the BPM OData service you can easily implement a custom UI to perform the following operations:
Read a collection of available BPM tasks
Read a specific BPM task
Claim a BPM task
Release a BPM task
Forward a BPM task
Search for BPM end users
Read BPM task definitions
Read custom attribute definitions of a BPM task
Read custom attributes of a BPM task
Read custom actions of a BPM task
Read comments of a BPM task
Add a comment to a BPM task
Read the link to a BPM task execution UI
Execute a custom action of a BPM task
Read a collection of substitution rules created by the current user
Read a collection of substitution rules created for the current user
Read a collection of substituted users for the current user
Create a BPM substitution rule
Enable a BPM substitution rule
Take over a BPM substitution rule
Delete a BPM substitution rule
Read a collection of substitution profiles
The BPM Tasks OData service (tasks.svc) can be used for all operations mentioned in the list.
In addition to the SAP_BPM_ODATA role, you need the necessary permissions for specific task operations. For example, a task with a custom action can only be completed by its owner. Therefore, the task needs to be claimed before this operation can be performed. To search for users, you need to have either the SAP_BPM_ODATA_SEARCH_USERS action or the SAP_BPM_ODATA_INBOX role assigned to you. To read user information of another user, you need to have either the SAP_BPM_ODATA_READ_USER_INFO action or the SAP_BPM_ODATA_INBOX role assigned to you. For more information about BPM roles and task owners, see Authorizations and Roles and Defining Task Owners.