Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-6714

I can complete a task before execution from delegate

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha5
    • Component/s: engine
    • Labels:

      Description

      TC

      • in TaskCreateListener
        • delegate can trigger completion

      Unclear:

      • how the method should react if the event is "complete" or "delete" (probably it should simply through an Illegal State Exception)

      for example

      public class MyTaskListener implements TaskListener {
        
        @Override
        public void notify(DelegateTask delegateTask) {
          delegateTask.complete(); 
        }
      
      }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              askar.akhmerov Askar Akhmerov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: