Hi everyone,
I'm facing a weird issue triggering an SAP Build Process Automation (BPA) workflow from my CAP backend.
Everything worked perfectly when the BPA project was deployed in the default Public environment. However, after undeploying and moving it to a newly created Shared environment, the workflow silently disappears.
Here is what is happening:
I updated the endpoint URL for the new environment.
I generated a new API Key (irpa-api-key) with the required scopes and passed it in the CAP request headers.
The CAP POST request is successful—it returns HTTP 201 and I get a valid bpa-instance-id logged in my console.
The Issue: The workflow never arrives in "My Inbox". Furthermore, when I search for the exact instance ID in the BPA Monitoring dashboard, it says "No data" (even with all filters like 'Started By' cleared).
Since the API returns an instance ID, the payload is clearly reaching the BPA server. Why is the instance vanishing before it hits the monitoring dashboard or inbox? Could this be a payload schema mismatch in the new environment, or some hidden routing issue?
Any pointers would be hugely appreciated!
Thanks,
Anurag
Request clarification before answering.
Hi Anurag,
A 201 Created response with an instance ID only confirms that the workflow start request was accepted by the API. It doesn't necessarily mean the workflow instance was successfully created and persisted.
A few things I'd check:
A couple of questions that may help narrow it down:
If manual starts work but API-triggered ones don't, the issue is likely with the endpoint, authentication, or request payload rather than the workflow itself.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.