Skip to Content
0
May 28, 2018 at 04:17 PM

How to make sure that only one process instance is running for a nwBPM process in SAP PO?

180 Views Last edit May 30, 2018 at 06:45 AM 2 rev

I have a nwBPM process defined which interacts with a third party database. I have been trying to make sure that no two BPM process instances are running at the same time to avoid data inconsistency at the receiving end(JDBC database)

Is there a way that I can restrict or put a check so that only one of process instance is running at a given time? Eg. if a process instance is "In Progress" then, the next instance should wait till the first one is in "Completed" or "Error" state.

We have a Monitoring API "AdapterMessageMonitoringVi" which we can use to retrieve message details in Adapter Engine. But do we have a standard API which can retrieve BPM messages details (status, instance name etc.)?

I referred to the blog "https://blogs.sap.com/2012/11/22/bpm-reporting-api-description-and-usage/" for the same pupose, but the links (eg " The BPM Reporting API") mentioned in the blogs are not working.