Run Partner REST API to trigger a mapping to run a partner flow and the action succeeds,
B2B Gateway
returns the event ID of the task event that it generates in the REST API response.
You can use the
B2B Gateway
Event Status REST API to query the status of the event, based on the event ID.
When you query a task event and the event reaches its final status, the API returns the event IDs of all the file events that the mapping generated. You can then run the API to query the status of each file event.
A task event reaches its final status when the mapping finishes running. A file event reaches its final status when the file processing is complete. Processing is complete when all task and file events are in a final status.