Starting a process by using a REST API call
External services, such as an IBM® App Connect event-driven flow, can interact with Business Automation Workflow by using a REST API call to start a process.
Calling the Business Automation Workflow API
to start a process has the following structure:
API | Description |
---|---|
HTTP method | POST |
URL | The fully qualified URL has the following structure: https://hostname/bpm/dev/rest/bpm/wle/v1/process?action=start&bpdId=BPD_ID&branchId=Branch_ID Where hostname is the hostname of the Business Automation Workflow on Cloud or on prem server, BPD_ID is the BPD ID (which starts with '25.'), and Branch_ID is the branch ID (which starts with '2063.'). |
Request headers | The header must be in the following JSON format {"Authorization":"Basic credentials"} Where credentials is
a base64 encoded string that is constructed from
|
Request body | (empty) |