Integrating SAP Cloud Platform Workflow Using SAP Business Workflow
There’s a generic standard task to integrate SAP Cloud Platform Workflow into SAP Business Workflow.
Prerequisites
You have executed the initial setup for integrating workflows of the SAP Cloud Platform Workflow service with the SAP Business Workflow as described in Configuring SAP Cloud Platform Workflow Integration.
Procedure
- Copy the standard task.
- Edit the task and add the required container element. See below Adjust the Task Container.
- Save the task.
- Integrate this task into your Business Workflow and do the mapping into this task and back to the workflow container.
- Activate your Business Workflow.
Results
Adjust the Task Container
Context
All importing parameters of the task container except for the system parameters are read and the start context of the SAP Cloud Platform Workflow is generated. This start context is rendered like this:
Once the completion callback is triggered, all exporting parameters of the task container with the exception of the system parameters are read and mapped back from the SAP Cloud Platform Workflow context to the task container.
You can use standard mapping in the workflow editor to map the parameters into the task container and back to the workflow container once the task is completed.