Package org.camunda.bpm.engine.impl.bpmn.behavior

Examples of org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior


        throw new ProcessEngineException("exception while sending signal for event subscription '" + eventSubscription + "':" + e.getMessage(), e);
      }

    } else { // not boundary
      if (activityBehavior instanceof IntermediateCatchEventActivityBehavior) {
        IntermediateCatchEventActivityBehavior catchBehavior = (IntermediateCatchEventActivityBehavior) activityBehavior;

        if (catchBehavior.isAfterEventBasedGateway()) {
          execution.executeActivity(activity);
          return;
        }
      }
View Full Code Here


    Element signalEventDefinition = intermediateEventElement.element("signalEventDefinition");
    Element messageEventDefinition = intermediateEventElement.element("messageEventDefinition");
    Element linkEventDefinitionElement = intermediateEventElement.element("linkEventDefinition");

    // shared by all events except for link event
    IntermediateCatchEventActivityBehavior defaultCatchBehaviour = new IntermediateCatchEventActivityBehavior(isAfterEventBasedGateway);

    parseAsynchronousContinuation(intermediateEventElement, nestedActivity);

    if(isAfterEventBasedGateway) {
      nestedActivity.setCancelScope(true);
View Full Code Here

    ActivityImpl intermediateEventActivity = execution.getProcessDefinition().findActivity(configuration);

    ensureNotNull("Error while firing timer: intermediate event activity " + configuration + " not found", "intermediateEventActivity", intermediateEventActivity);

    try {
      IntermediateCatchEventActivityBehavior behavior = (IntermediateCatchEventActivityBehavior) intermediateEventActivity.getActivityBehavior();

      if (behavior.isAfterEventBasedGateway()) {
        execution.executeActivity(intermediateEventActivity);

      } else {
        if (!execution.getActivity().getId().equals(intermediateEventActivity.getId())) {
          execution.setActivity(intermediateEventActivity);
View Full Code Here

    Element signalEventDefinition = intermediateEventElement.element("signalEventDefinition");
    Element messageEventDefinition = intermediateEventElement.element("messageEventDefinition");
    Element linkEventDefinitionElement = intermediateEventElement.element("linkEventDefinition");

    // shared by all events except for link event
    IntermediateCatchEventActivityBehavior defaultCatchBehaviour = new IntermediateCatchEventActivityBehavior(isAfterEventBasedGateway);

    if(isAfterEventBasedGateway) {
      nestedActivity.setCancelScope(true);
      nestedActivity.setScope(scopeElement.getParentScope());
    }
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.impl.bpmn.behavior.IntermediateCatchEventActivityBehavior

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.