Package org.camunda.bpm.model.bpmn.instance

Examples of org.camunda.bpm.model.bpmn.instance.UserTask.builder()


    UserTask task = modelInstance.newInstance(UserTask.class);
    task.setId("userTask");
    CamundaTaskListener executionListener = modelInstance.newInstance(CamundaTaskListener.class);
    executionListener.setCamundaEvent(TaskListener.EVENTNAME_CREATE);
    executionListener.setCamundaClass(delegateClass.getName());
    task.builder().addExtensionElement(executionListener);
    return task;
  }

  public static class AccessServicesListener implements TaskListener {
    public void notify(DelegateTask execution) {
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.