You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Introduction

  • Orders are triggers for the execution of workflows. They are scheduled for a given date and time. 
  • In addition, orders can carry variables that are available to the instructions and jobs in workflows.

Order Types

JS7 knows the following Order types:

  • Orders generated by the Daily Plan
    • Single Orders
    • Cyclic Orders
  • Orders added by users
    • Ad Hoc Orders
  • Orders added by File Order Sources
    • File Orders

Single Orders and Ad Hoc Orders are handled similarly with the exception that Ad Hoc Orders are managed from the Workflows View.

Cyclic Orders are created from the JS7 - Daily Plan if a Schedule specifies a cyclic run-time using a repeat interval, e.g. for every 5 minutes between 9am and 11am. Technically for each execution in a cycle an individual order is created. The JOC Cockpit reports a cycle from a single Order only. 

Dashboard Order Summary

Explanation:

  • The Dashboard view shows summary information per order state.
  • Clicking the number for the respective order state will open the Orders View to display details for orders assigned the given state.

Order States


Error StateDescription
PendingnoOrders are added to workflows without specifying a start time
SchedulednoOrders are added to workflows and are scheduled for execution with a later date and time
In ProgressnoOrders are processed by a workflow instruction such as Fork but are not running with a job
RunningnoOrders for which a job was started, such orders are waiting for the job to complete
SuspendednoOrders that have been halted on user intervention
PromptingnoOrders are put on hold by the workflow and require confirmation to continue execution of the workflow
CompletednoOrders that finished a workflow but are not automatically removed
WaitingnoOrders that wait for a resource such as an Agent or a lock
BlockedyesOrders that cannot start, e.g. due to a failed initial workflow instruction
FailedyesOrders for which a job failed or that have been halted with the Fail workflow instruction

Find details and a state transition diagram from JS7 - Order State Transitions

Orders View

Explanation:

  • The view offers a number of filters for dates and order states.
  • In addition, bulk operations are offered:
    • to cancel Orders and
    • to modify Order Variables.
  • Clicking the Order ID updates the Order History in the lower part of the window.

Cyclic Orders

In the screenshot above one Cyclic Order is available. Users can move the mouse over the respective order icon to find the following details:

When performing operations on Cyclic Orders then all Orders in the cycle are subject to the same operation, i.e. to cancel/suspend the Order or to Modify Order Variables.

File Orders

File Orders are created from files that a directory is watched for. Each incoming file is represented by an order.

For details see JS7 - File Watching.



  • No labels