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

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

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

  • The Workflows View offers 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. For details see JS7 - Workflows - Status Operations on Orders
  • The Dashboard View offers a summary of current order states that allows bulk operations.

Orders can be cancelled and can be suspended to prevent execution of jobs and they can be resumed:

Status Operations on Orders

Status Operations are available individually per workflow and are available as bulk operations when users select a number of workflows in the Workflows view.

The following sample workflow is available that allow to 

Download (upload .json): 

Cancel Order

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

  • Cancel: The operation allows the order to complete the current instruction, for example executing a job, and after completion of the instruction the order leaves 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.

Suspend Order

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

  • Suspend: The 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 operation kills processing of the current instruction, for example a running task, and puts the order in the SUSPENDED state.

Resume Order

FAILED and SUSPENDED orders to resume operation from their action menus:

  • Resume: The order is resumed from its current position in the workflow or from some 
  • Resume Parameterized: The order is resumed similar to the Resume operation. In addition this operation allows to modify order parameters.


If the Resume operation is used then the the tabular view of the work is displayed:

  • Users can hit 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 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 inside nested instructions, for example if an order in the branch of a Fork/Join Instruction is suspended then 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 a position in the workflow as explained above.
  • In addition the list of order variables is displayed.
    • Users can modify values of order variables.
    • Users can use the Add Variable link to specify a variable that is not available from the order but has been declared with a default value from the workflow.





  • No labels