added azure related code
[it/otf.git] / otf-camunda / src / main / java / org / oran / otf / camunda / delegate / otf / common / runnable / SynchronousTestInstanceCallable.java
index cffdc1e..87559e9 100644 (file)
@@ -164,6 +164,8 @@ public class SynchronousTestInstanceCallable extends ProcessEngineAwareService
       // Add the testExecution to the parentTestExecution\r
       parentTestExecution.getTestInstanceResults().add(testExecution);\r
       Query query = new Query();\r
+      //TODO: Update for Azure\r
+      query.addCriteria((Criteria.where("groupId").is(parentTestExecution.getGroupId())));\r
       query.addCriteria(Criteria.where("_id").is(parentTestExecution.get_id()));\r
       // Also add businessKey as a criteria because the object won't be found if the business key\r
       // was somehow modified in the workflow.\r