Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-2117

Resume suspended order from a Retry Instruction

    XMLWordPrintable

Details

    Description

      Current Situation

      An order that is in a retry loop and is supended cannot be resumed.

      Steps to reproduce:

      • Create a workflow using a Retry Instruction (10 times x 1m delay) and an "exit -1" Job (see attachment)
      • Deploy the workfllow
      • Add an Order to the workflow
      • The Order will move to the "waiting" state
      • Suspend the Order using the Order's action menu
      • The Order will move to the "suspended" state
      • Resume the Order using the Order's action menu
      • The Order will move to the "suspended/resuming" state
      • In the Order History the Status is "in progress" and the Order is in the "suspended" state
      • Nothing happens after this. Resuming the Order a second time only displays this error message:
        "BadRequestError: InapplicableOrderEvent: Inapplicable event"

      Desired Behavior

      It should be possible to resume an order that is looping inside a Retry instruction and is supended. The next retry should be executed when the order is resumed.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              ur Uwe Risse
              Divyani Rathore Divyani Rathore
              Divyani Rathore Divyani Rathore
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: