@Test public void testUserTaskCamundaFormField() { modelInstance = Bpmn.createProcess() .startEvent() .userTask(TASK_ID) .camundaFormField() .camundaId("myFormField_1") .camundaLabel("Form Field One") .camundaType("string") .camundaDefaultValue("myDefaultVal_1") .camundaFormFieldDone() .camundaFormField() .camundaId("myFormField_2") .camundaLabel("Form Field Two") .camundaType("integer") .camundaDefaultValue("myDefaultVal_2") .camundaFormFieldDone() .endEvent() .done(); UserTask userTask = modelInstance.getModelElementById(TASK_ID); assertCamundaFormField(userTask); }
public StartEventBuilder startEvent() { return startEvent(null); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id); }
ProcessBuilder extends AbstractProcessBuilder<ProcessBuilder> { public StartEventBuilder startEvent() { return startEvent(null); } ProcessBuilder(BpmnModelInstance modelInstance, Process process); StartEventBuilder startEvent(); StartEventBuilder startEvent(String id); EventSubProcessBuilder eventSubProcess(); EventSubProcessBuilder eventSubProcess(String id);  }