Ejemplo n.º 1
0
 public static IBpmnModelInstance oneClassDelegateServiceTask(string className)
 {
     return(ProcessModels.NewModel()
            .StartEvent()
            .ServiceTask("serviceTask")
            .CamundaClass(className)
            .EndEvent()
            .Done());
 }
Ejemplo n.º 2
0
 public static IBpmnModelInstance oneBpmnCallActivityProcess(string calledProcessKey)
 {
     return(ProcessModels.NewModel()
            .StartEvent()
            .CallActivity("callActivity")
            .CalledElement(calledProcessKey)
            .UserTask("userTask")
            .EndEvent()
            .Done());
 }
Ejemplo n.º 3
0
 public static IBpmnModelInstance oneBpmnCallActivityProcessAsExpression(int processNumber)
 {
     return(ProcessModels.NewModel(processNumber)
            .StartEvent()
            .CallActivity()
            .CalledElement("${NextProcess}")
            .CamundaIn("NextProcess", "NextProcess")
            .EndEvent()
            .Done());
 }
Ejemplo n.º 4
0
 public static IBpmnModelInstance oneCmmnCallActivityProcess(string caseCaseKey)
 {
     return(ProcessModels.NewModel()
            .StartEvent()
            .CallActivity("callActivity")
            .CamundaCaseRef(caseCaseKey)
            .UserTask("userTask")
            .EndEvent()
            .Done());
 }
Ejemplo n.º 5
0
 public static IBpmnModelInstance oneBpmnCallActivityProcessPassingVariables(int processNumber,
                                                                             int calledProcessNumber)
 {
     return(ProcessModels.NewModel(processNumber)
            .StartEvent()
            .CallActivity()
            .CalledElement("Process" + calledProcessNumber)
            //.CamundaInputParameter("NextProcess", "Process" + (processNumber + 1))
            .CamundaIn("NextProcess", "NextProcess")
            .EndEvent()
            .Done());
 }