Exemple #1
0
 public static IBpmnModelInstance oneBpmnCallActivityProcess(string calledProcessKey)
 {
     return(ProcessModels.NewModel()
            .StartEvent()
            .CallActivity("callActivity")
            .CalledElement(calledProcessKey)
            .UserTask("userTask")
            .EndEvent()
            .Done());
 }
Exemple #2
0
 public static IBpmnModelInstance oneBpmnCallActivityProcessAsExpression(int processNumber)
 {
     return(ProcessModels.NewModel(processNumber)
            .StartEvent()
            .CallActivity()
            .CalledElement("${NextProcess}")
            .CamundaIn("NextProcess", "NextProcess")
            .EndEvent()
            .Done());
 }
Exemple #3
0
 public static IBpmnModelInstance oneCmmnCallActivityProcess(string caseCaseKey)
 {
     return(ProcessModels.NewModel()
            .StartEvent()
            .CallActivity("callActivity")
            .CamundaCaseRef(caseCaseKey)
            .UserTask("userTask")
            .EndEvent()
            .Done());
 }
Exemple #4
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());
 }