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

Ignore suspend action for failed orders

    XMLWordPrintable

Details

    Description

      Current Situation

      • A user sends the command to suspend an order running in some job. The order is displayed with the running/suspending state.
      • If the job terminates successfully, then the order will be suspended. This is fine.
      • If the job fails then the order will be moved to the failed state. This is correct. However, the order is displayed with the failed/suspending state as it cannot be suspended due to the failed state. This is confusing.
      • The JOC Cockpit GUI provides the operation to "resume" a failed order. When resuming the order from the failed/suspending state, the error is raised "BadRequestError: CannotResumeOrder: Order is not in a resumable state" and the order cannot be resumed. ( It is possible to cancel the order. )

      Desired Behavior

      When a running order is suspended and the order moves to the failed state, then the "suspend" operation should be ignored. The order should remain in the failed state and should be resumable.

      Attachments

        Activity

          People

            jz Joacim Zschimmer
            ur Uwe Risse
            Aakash Rao Aakash Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: