Annotation Interface CompleteTask


@Retention(RUNTIME) @Qualifier public @interface CompleteTask
Can be used to qualify events fired when a task is completed.
 public void onApproveRegistrationTaskComplete(@Observes @CompleteTask("approveRegistration") BusinessProcessEvent evt) {
   // ...
 }
 
Author:
Daniel Meyer, Sebastian Menski
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    the definition key (id of the task in BPMN XML) of the task which was completed
  • Element Details

    • value

      String value
      the definition key (id of the task in BPMN XML) of the task which was completed