Use Action in Business Process You will learn
How to create and configure a business process
How to discover actions from the library
How to configure the action for the business process
How to release and deploy a business process with actions
How to test the process
Open all Close all
From the Lobby, select Create
Select Build an Automated Process , on next screen click Business Process
Enter Project Name CAP Sample and click Create
On the Create Process dialog, enter the Process Name myCAP Sample and click Create , the canvas will be shown
Click the canvas to display the Process Details
Click Variables to define the process inputs
Click Configure to open popup Configure Process Inputs
Click Add Input
Enter field as Name , Identifier will be auto filled and Type should be String
Click Apply
Done
Click + to add a new API trigger to your process
Enter Trigger Name myCAP Trigger and click Create
Done
Click + to add a step to your process, from the context menu select Actions > Browse Library
From Browse Library
Click + next to End and repeat the Actions > Browse Library steps to add the action listToString
Select get list of Todos on the canvas and create Destination variable capService
Select listToString on the canvas and select Destination variable capService
Select Inputs to define the input values for the action
The Inputs for listToString should show the following values:
What filters can you use in Browse Library? Check answer
Save the process myCAP Sample , click Release .
On popup Release Project , click Release .
Click Deploy .
Choose an Environment and select Deploy .
You can see your trigger in the list, click Deploy .
In the Define Variables section, select Destination Demo_CAP_Sample_Library and click Deploy .
Done
From SAP Build , click Monitoring
Select Manage > Processes and Workflows
Select myCAPSample
Click Start New Instance
Select Monitoring > Process and Workflow Instances , make sure your instance is in the list, clear all filters
Click the line to display the details of the instance
The result of the action listToString is shown as comma separated value string
Done