cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Build Process Automation API Trigger, Can't Get Definition ID

slade_stewart
Explorer
0 Kudos
540

I've created a SAP Build Process Automation Process (i.e. a Workflow), with a Trigger of type 'API Call'.  I need to figure out how to call it.  I can't find SAP tutorials about exactly this, but I've pieced together some stuff from various blogs etc. including some 'official SAP blogs'.  They all have a crucial step to find the Definition ID in the 'Monitor->Manage' section (the UIs in the blogs might look slightly different than my UI, but I believe that's due to version differences).  All the blogs show the Definition ID being in a section 'Processes and Workflows' (screenshot below from one of these blogs).  However, when I go to 'Monitoring' (in my version of BPA, this shows sections and tiles, screenshot below), under the 'Manage' section I don't have a 'Processes And Workflows' tile.

If I'm going to the wrong place, I'd appreciate that info.  If the reason the tile isn't showing up is because I missed some step or some role or permission assignment or something like that, I'd appreciate that info.  Really any help at all would be greatly appreciated.

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Sankara1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Ensure you have a service key from the SAP Business Technology Platform (BTP). For more information, see
Create a Service Key for the SAP Build Process Automation Instance


Procedure ( https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/5bdc85433a944b0db47bd3... )
Access Control Tower: In SAP Build, choose Control Tower, then select the Environments tile

Select Environment: Select your environment and go to the Triggers view

Add Trigger: Choose Add Trigger, select a project, and choose Next

Select API: Choose API and Next

Configure Trigger Settings: Configure the trigger settings and optionally, the agent attributes. Note that the maximum expiration time is limited to 30 days or 4 weeks. Once the expiration time is passed, the trigger appears in Expired status

Create Trigger: Choose Create. You can now copy the API trigger information and close

Testing the API Trigger
Once the API call is set as your process trigger, you can test the call using Postman. For detailed instructions, ( https://help.sap.com/docs/PROCESS_AUTOMATION/a331c4ef0a9d48a89c779fd449c022e7/7ba3a9894ec140368d7c6e...)

Additional Information
ISO 8601 Format: Ensure date and time are in the ISO 8601 format: YYYY-MM-DD (e.g., 2023-03-16) and hhss (e.g., 1516)