Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

JS7 - Workflows implement jobs and dependencies for workload automation. Orders are triggers that cause the execution of workflows.

  • The Configuration View offers provides a graphical design view from the JS7 - Workflow Editor.
  • The Workflows View offers provides a tactical execution view that can be used to monitor the processing of orders with workflows in near real-time and to perform interventions if required.
  • The Dashboard View offers provides a summary of current order states and states and navigation to the Orders Overview that , which allows bulk operations, for . For details see JS7 - Orders - Bulk Operations.

Orders can be cancelled, can be suspended to prevent execution of instructions such as jobs and they can be resumed.

...

Status operations are available individually per order and as bulk operations when a number of orders is are selected in the Workflows view.

The following sample workflow is available that which implements a number of jobs and that passes variables between jobs:

Cancel Order

Orders in a PENDING, SCHEDULED, IN PROGRESS, RUNNING, SUSPENDED, PROMPTING, WAITING, BLOCKED and FAILED state offer to cancel operation of the order, states can be cancelled: for details see the JS7 - Order State Transitions article:

  • Cancel: The This operation allows the order to complete the current instruction, for example, executing a job, and after completion of the instruction the order leaves will leave the workflow with a failed history outcome.
  • Cancel/Kill Task: The operation kills processing of the current instruction, for example a running task for a job, and makes the order leave the workflow.


Explanation:

  • When Cancelling an order is cancelled this is performed from as an asynchronous operation that which includes the JOC Cockpit, Controller and Agent.
    • In a first step the order is displayed from with a green/red bullet  icon icon indicating that indicates that the order still is running and that the cancel operation to cancel the order is in progress.
      • Should If the Controller or Agent not cannot be accessible accessed then the display of the order remains will remain unchanged.
      • Consider Note that "inaccessible" can mean that the network connection is has been lost and that the Agent in fact is up and running. In this situation the order will continue processing with to be processed by the Agent until the order cancel operation to cancel the order is successfully transmitted to the Agent.

Suspend Order

Orders in a PENDING, SCHEDULED, IN PROGRESS, RUNNING, PROMPTING, WAITING, BLOCKED state offer the operation to suspend the order states can be suspended:

  • Suspend:  The This operation allows the order to complete the current instruction, for example, executing a job, and after completion of the instruction the order is put to the SUSPENDED state.
  • Suspend/Kill Task:  The The operation kills processing of the current instruction, for example, a running task, and puts the order in the SUSPENDED state.


Explanation:

  • When Suspending an order is suspended this is performed from as an asynchronous operation that which includes the JOC Cockpit, Controller and Agent.
    • In a first step the order is displayed from with a green/orange bullet icon that indicates , indicating that the order still is running and that the suspend operation to suspend the order is in progress.
      • Should If the Controller or Agent not cannot be accessible then the display of the order remains will remain unchanged.
      • Consider Note that "inaccessible" can mean that the network connection is has been lost and that the Agent in fact is up and running. In this situation the order will continue processing with to be processed by the Agent until the suspend operation to suspend the order is successfully transmitted to the Agent.
    • In a second step the order is will be displayed from with an orange bullet icon indicating that indicates that the order is has been suspended.

Resume Order

FAILED and SUSPENDED orders can be resumed from the Workflows view like thisas follows:

  • Resume: The order is resumed from its current position in the workflow. 
  • Resume Parameterized: The order is resumed in a similar manner to the Resume operation. In addition this operation allows to modify order variables to be modified.


If the resume operation to resume is used for an order is used , then the a tabular view of the workflow is will be displayed:

  • Users can click the Submit button to resume the order from its current position.
  • Users can resume the order from a different position before or after the current position: clicking the order with the mouse and moving the order to the desired position makes the order resume from this position.
    • This operation is offered available for top level instructions in a workflow.
    • This operation is denied for nested instructions, : for example, resuming an order from a position inside a JS7 - Fork-Join Instruction or JS7 - Lock Instruction is not allowed.
    • This operation is offered available inside nested instructions, for example if an order in a branch of a Fork/Join Instruction is suspended, it can be freely resumed inside its branch.

...

If the Resume Parameterized operation is used then, in addition to the Tabular View of the workflow:

  • The order can be resumed from any position in the workflow as explained above.
  • In addition, the list of order variables is will be displayed.
    • Users can modify the values of order variables.
    • Users can use the Add Variable link to specify a variable that which is not available from the order but has been declared with a default value from the workflow.

...

The Workflows view displays a maximum of three orders with for each workflow. The overall number of orders available for the workflow is displayed with by the grey order indicator:


When clicking the order indicator, a popup window is displayed with the list of orders like thiswill be displayed as follows:


Explanation:

  • When clicking Clicking the Order ID of an order then will cause the order log is to be displayed.
  • When selecting Selecting one or more orders then depending on the order state the bulk operations to will allow the cancel, to suspend and to resume or resume bulk operations to be carried out for the selected orders are offered, according to the order state.
  • When an order is resumed from a bulk operation then:
    • the position from which the order will be resumed will always is be the current position,
    • the order variables cannot be modified.

...