Search in sources :

Example 6 with CaseExecutionState

use of org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState in project camunda-bpm-platform by camunda.

the class AbstractAtomicOperationCaseExecutionResume method eventNotificationsStarted.

protected CmmnExecution eventNotificationsStarted(CmmnExecution execution) {
    CmmnActivityBehavior behavior = getActivityBehavior(execution);
    triggerBehavior(behavior, execution);
    CaseExecutionState newState = getPreviousState(execution);
    execution.setCurrentState(newState);
    return execution;
}
Also used : CaseExecutionState(org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState) CmmnActivityBehavior(org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior)

Aggregations

CaseExecutionState (org.camunda.bpm.engine.impl.cmmn.execution.CaseExecutionState)6 CmmnActivityBehavior (org.camunda.bpm.engine.impl.cmmn.behavior.CmmnActivityBehavior)1 CmmnExecution (org.camunda.bpm.engine.impl.cmmn.execution.CmmnExecution)1 HistoricCaseActivityInstanceEventEntity (org.camunda.bpm.engine.impl.history.event.HistoricCaseActivityInstanceEventEntity)1