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