Is there any built in resource locking support available in Activiti ? Resource Can be ID/Collection of IDs. Basically we want to avoid concurrent operation on resource or List of resources,However we don't want to fail the operation Hence require a Async Lock Support. Can we use Activiti instead of going to other distributed locking framework support ?
Start -> Deploy new version to the testing env. -> end
Issue description: In the case when another process uses testing env. (e.g. tests for previous version are still in the progress) we can not continue in the deployment (because we can harm another process instance execution)
Solution proposal: Create new embedded "subprocess" component which will describe resource (testing env). In the case when resource is occupied we should use one of the strategies to handle the situation.