Prerequisites for using SAP Workflow Management with Operation Automation are the following:
An end point in SAP Cloud ALM Landscape Management pointing to the workflow service in the remote sub account is required to request the list of workflow definitions, trigger a new workflow instance and check the status of executed workflow instances. Proceed as follows to create the endpoint:
If the workflow management subaccount is already known to Landscape Management, skip these steps and proceed directly with the end point creation. Otherwise, define the workflow management cloud service as below:
a. Use Case: Operation Automation
b. Root Url: <workflow_rest_url> (overwrite existing data if required)
c. Authentication type: OAuth2ClientCredentials
d. Client ID: <Client ID>
e. Client secret: <client secret>
f. Token Service URL: <URL>/oauth/token
6 Select Save
The registration step is required to make the relevant workflow definitions known to SAP Cloud ALM for Operations as Operation Flows.
Perform the following for each workflow that should be triggered manually or automatically from SAP Cloud ALM for Operations.
As a result, the new workflow definition will appear in the list of registered operation flows.
If the operation flow should be triggered automatically from an event, for example an alert, you need to define an event processing rule