How can I ensure that only 1 instance of a process is being instantiated/running concurrently at a time. I am currently creating process instances from a MDB by calling the api.
ProcessInstance instance = this.runtimeService.startProcessInstanceByKey(PROCESS_ID, variables);