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.