assertFalse(caseExecution.isEnabled());
// there exists two new case execution:
// (1) one case case execution representing "PI_HumanTask_1"
CaseExecution firstHumanTask = caseExecutionQuery
.activityId("PI_HumanTask_1")
.singleResult();
assertNotNull(firstHumanTask);
assertTrue(firstHumanTask.isEnabled());