- Common ways to obtain HumanTaskActivityBehavior
private void myMethod () {HumanTaskActivityBehavior h =
CmmnActivity activity;(HumanTaskActivityBehavior) activity.getActivityBehavior()
- Smart code suggestions by Codota
}
protected void completing(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); if (task != null) { task.caseExecutionCompleted(); } }
protected void terminating(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); // it can happen that a there does not exist // a task, because the given execution was never // active. if (task != null) { task.delete("terminated", false); } }
protected void completing(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); if (task != null) { task.caseExecutionCompleted(); } }
protected void terminating(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); // it can happen that a there does not exist // a task, because the given execution was never // active. if (task != null) { task.delete("terminated", false); } }
protected void terminating(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); // it can happen that a there does not exist // a task, because the given execution was never // active. if (task != null) { task.delete("terminated", false); } }
protected void completing(CmmnActivityExecution execution) { TaskEntity task = getTask(execution); if (task != null) { task.caseExecutionCompleted(); } }