Skip to end of metadata
Go to start of metadata

Introduction

  • Orders are subject to a number of state transitions when being processed by a workflow. These include starting a job, being failed in case of unsuccessful execution by a job etc.
  • Some state transitions are automatically performed and a few state transitions require user interaction.
  • The JS7 - Dashboard shows the summary of orders per state.
  • For detailed information about order states see JS7 - Orders

State Transition Diagram

State Transition Table


nostarting_stateeventcommandinstructionuser_inducedaccepting_statefinal_stateorder_existsorder_in_error
Order State Transition Table
NoStarting StateTransitionAccepting StateExplanation
NameEventCommandInstructionUser-inducedNameFinal StateOrder ExistsOrder In ErrorFunctionalityComment
6PlannedOrderAddedAddOrder yesPendingnoyesnoAn Order is added to the Daily Plan. The PLANNED state is available with the Daily Plan only. When the Order is submitted it becoms available in PENDING state with the Controller.
7PlannedOrderRemovedRemoveOrder yesRemovedyesnonoThe Order is removed from the Daily Plan and does not exist any longer.
8PendingOrderStartedAddOrder yesInProgressnoyesyesWhen reaching ist start time then the Order is moved to the INPROGRESS state.
9PendingOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
10ScheduledOrderStarted noInProgressnoyesyesWhen reaching ist start time then the Order is moved to the INPROGRESS state.
11ScheduledOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
12InProgressOrderPrompting PromptnoPromptingnoyesnoThe Order is prompting for confirmation to continue execution of the workflow.
13InProgressOrderStarted *noWaitingnoyesnoThe Order is waiting for a resource, e.g. for a Lock or Agent to become available.
14InProgressOrderRunning JobnoRunningnoyesnoThe Order is processed by a Job in the Workflow.
15InProgressOrderFinished *noFinishedyesyesnoThe Order completes normally. Orders added by the Daily Plan are automatically removed on completion. Individually added orders can be configured to remain in a FINISHED state.
16InProgressOrderSuspendedSuspendOrder yesSuspendednoyesnoThe Order is suspended on user intervention.
17InProgressOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
18PromptingOrderRunning PromptyesRunningnoyesnoThe Order is confirmed by user intervention (or by an application using the API) to continue workflow execution.
19WaitingOrderRunning *noRunningnoyesnoThe Order can acquire a required resource such as an Agent or Lock and is processed by a Workflow instruction, e.g. by a job.
20WaitingOrderSuspendedSuspendOrder yesSuspendednoyesnoThe Order is suspended by user intervention.
21WaitingOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
22RunningOrderProcessed JobnoInProgressnoyesnoThe Orders has been successfully processed by a Job.
23RunningOrderFailed Fail, If, JobnoFailednoyesyesThe Order failed in a Job or the Workflow instruction Fail has been used. Errors with an If Workflow instruction can accordingly cause this transition.
24RunningOrderSuspendedSuspendOrder yesSuspendednoyesnoThe Order is suspended by user intervention.
25RunningOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
26FailedOrderResumedResumeOrder yesInProgressnoyesnoThe Order is resumed on user intervention and proceeds with the next instruction at the given position in the Workflow.
27FailedOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
28SuspendedOrderResumedResumeOrder yesInProgressnoyesnoThe Order is resumed on user intervention and proceeds with the next instruction at the given position in the Workflow.
29SuspendedOrderCancelledCancelOrder yesCancelledyesnoyesThe Order is cancelled on user intervention.
30

  • No labels
Write a comment…