Programming for process management
A set of workflow APIs is available for programming components, applications, and services.
Learn about the common activities you need to do when
programming for process management.
- Resource URLs
- To access the workflow REST APIs from your cloud environments,
use the URL structure
wherehttps://tenant_name.subscription_hostname/cloud_offering/environment/bpm/system/login- subscription_hostname can be one of the following
values:
bpm.ibmcloud.comorautomationcloud.ibm.com - cloud_offering can take one of the following
values:
bawfor Business Automation Workflow on Clouddbafor cloud subscriptions with multiple IBM® Cloud Pak for Business Automation as a Service offerings, including Business Automation Workflow on Cloud
- environment has the value
devfor the development environment,testfor the test environment, orrunfor the production (runtime) environment. A token for one environment is not valid for another environment.
- subscription_hostname can be one of the following
values:
- HTTP headers
- To prevent cross site request forgery attacks, all calls to the workflow REST APIs require that the BPMCSRFToken token is set in the HTTP header of every request. A token is valid only for the cloud environment in which the client application is currently running; you can't reuse this token in another cloud environment. For information about how to obtain a token, see Preventing cross site request forgery in the IBM Business Automation Workflow documentation.
- Authentication
- Your client application must implement one of the supported authentication mechanisms to authenticate with Business Automation Workflow. For more information, see Authenticating client applications.
- Authorization
- The workflow REST APIs use authorization roles to determine the actions that a user can take on objects, such as processes, tasks, and user data. For information about these roles and the actions each role can take, see Authorization control for runtime REST API calls in the IBM Business Automation Workflow documentation.
For more information about the workflow APIs, see REST APIs in the IBM Business Automation Workflow documentation.