Search in sources :

Example 1 with ProcessOrCaseTaskActivityBehavior

use of org.camunda.bpm.engine.impl.cmmn.behavior.ProcessOrCaseTaskActivityBehavior in project camunda-bpm-platform by camunda.

the class ProcessOrCaseTaskItemHandler method initializeCallableElement.

protected void initializeCallableElement(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) {
    super.initializeCallableElement(element, activity, context);
    ProcessOrCaseTaskActivityBehavior behavior = (ProcessOrCaseTaskActivityBehavior) activity.getActivityBehavior();
    CallableElement callableElement = behavior.getCallableElement();
    // inputs
    initializeInputParameter(element, activity, context, callableElement);
    // outputs
    initializeOutputParameter(element, activity, context, callableElement);
}
Also used : CallableElement(org.camunda.bpm.engine.impl.core.model.CallableElement) ProcessOrCaseTaskActivityBehavior(org.camunda.bpm.engine.impl.cmmn.behavior.ProcessOrCaseTaskActivityBehavior)

Aggregations

ProcessOrCaseTaskActivityBehavior (org.camunda.bpm.engine.impl.cmmn.behavior.ProcessOrCaseTaskActivityBehavior)1 CallableElement (org.camunda.bpm.engine.impl.core.model.CallableElement)1