Package org.camunda.bpm.engine.impl.pvm.runtime

Examples of org.camunda.bpm.engine.impl.pvm.runtime.PvmExecutionImpl.performOperation()


      if (executionToUse.getActivity().isScope()) {
        executionToUse.setActive(false); // Deactivate since we jump to a node further down the hierarchy
        executionToUse = executionToUse.getExecutions().get(0);
      }
      executionToUse.setActivity(activity);
      executionToUse.performOperation(PROCESS_START_INITIAL);
    }
  }

  public String getCanonicalName() {
    return "process-start-initial";
View Full Code Here


        if (parent!=null) {
          // set activity on parent in case the parent is an inactive scope execution and activity has been set to 'null'.
          if(parent.getActivity() == null && activity != null && activity.getParentActivity() != null) {
            parent.setActivity(activity.getParentActivity());
          }
          parent.performOperation(DELETE_CASCADE);
        }
      }
    }
  }
View Full Code Here

        // and have no outgoing transitions: end the process instance here
        if(activity.getParent() == activity.getProcessDefinition()
                && activity.getOutgoingTransitions().isEmpty()) {
          parentScopeExecution.setActivity(activity);
          // we call end() because it sets isEnded on the execution
          parentScopeExecution.performOperation(PROCESS_END);
        } else {
          parentScopeExecution.setActivity(parentActivity);
          parentScopeExecution.performOperation(ACTIVITY_NOTIFY_LISTENER_END);
        }
      }
View Full Code Here

          parentScopeExecution.setActivity(activity);
          // we call end() because it sets isEnded on the execution
          parentScopeExecution.performOperation(PROCESS_END);
        } else {
          parentScopeExecution.setActivity(parentActivity);
          parentScopeExecution.performOperation(ACTIVITY_NOTIFY_LISTENER_END);
        }
      }

    } else { // execution.isConcurrent() && !execution.isScope()
View Full Code Here

    } else {
      propagatingExecution = execution;
    }

    propagatingExecution.performOperation(TRANSITION_NOTIFY_LISTENER_START);
  }

  public String getCanonicalName() {
    return "transition-create-scope";
  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.