import org.oran.otf.camunda.exception.TestExecutionException;\r
import org.oran.otf.camunda.model.ExecutionConstants;\r
import org.oran.otf.camunda.workflow.utility.WorkflowUtility;\r
import org.oran.otf.common.model.TestExecution;\r
import org.oran.otf.common.repository.TestExecutionRepository;\r
import org.oran.otf.common.utility.Utility;\r
import org.oran.otf.camunda.exception.TestExecutionException;\r
import org.oran.otf.camunda.model.ExecutionConstants;\r
import org.oran.otf.camunda.workflow.utility.WorkflowUtility;\r
import org.oran.otf.common.model.TestExecution;\r
import org.oran.otf.common.repository.TestExecutionRepository;\r
import org.oran.otf.common.utility.Utility;\r
// processBusinessKey from the delegate execution because it is saved to the database before the\r
// user can modify the value.\r
Query query = new Query();\r
// processBusinessKey from the delegate execution because it is saved to the database before the\r
// user can modify the value.\r
Query query = new Query();\r
query.addCriteria(Criteria.where("businessKey").is(execution.getProcessBusinessKey()));\r
Update update = new Update();\r
update.set("testResult", testExecution.getTestResult());\r
query.addCriteria(Criteria.where("businessKey").is(execution.getProcessBusinessKey()));\r
Update update = new Update();\r
update.set("testResult", testExecution.getTestResult());\r