Versions Compared

Key

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

Table of Contents

Introduction

Excerpt

Standalone Jobs and Order Jobs

JobScheduler comes with two types of job that can be used to carry out workflow automation tasks - Standalone Jobs and Order Jobs.

Order

Standalone Jobs are

the more powerful and flexible approach. However, Standalone Jobs are quite

simple to configure and are often used in simpler job scheduling environments

and

. They are also often used where users have migrated from other job scheduling systems such as TWS which are based on a similar concept. However, Standalone Jobs are neither as flexible nor as powerful as Order Jobs.

Order Jobs are run in Job Chains and can be executed both sequentially and in parallel. Order Jobs require an Order before they can run. Orders are triggers that start a

job chain

Job Chain and convey information about the state in

a

the job chain

that corresponds

corresponding with the job that is being run. Orders can also have a payload of parameters that are processed by individual

jobs

Jobs. These concepts are explained in more detail in our Concepts for jobs, job chains and orders article. In addition, our Job Chains article illustrates some of the basic

job chain

Job Chain patterns that can be implemented with JobScheduler.

Most of these tutorials in this series concentrate on Order Jobs - however the following article provides a step-by-step guide to configuring and running Standalone Jobs:  

...

  1. To start the JOC Cockpit open a browser tab and call the JOC Cockpit using an address such as:
  2. Log into the JOC Cockpit using an authorized account name and password. The account name shown in the screenshot below is for one of the default accounts supplied configured with the JOC Cockpit. This account - the it_operator - has sufficient permissions for the purposes of these tutorials but has to be activated by a system administrator. See the Authentication and Authorization - Configuration article for more information. 
    Image RemovedImage Added

  3. After logging in successfully the Dashboard view will be shown:
    Image RemovedImage Added

  4. Now open the Job Chains view by clicking on the Job Chains link in the grey menu bar near the top of the dashboard. This is the most useful view for starting and monitoring individual Orders being run on Job Chains and when first opened only shows the menu tree in the left hand view panel. This menu tree represents the folder structure in the JobScheduler's live directory and is a major tool for navigating to individual Job Chains.
    • Click on the tutorials link in the menu tree as shown below to access the Hello World Job Chain:
      Image RemovedImage Added

  5. At this stage the Hello World Job Chain is the only Job Chain in the tutorials folder. It is shown in card form as shown can be seen in the next screen shot:
    Image RemovedImage Added
    The card view provides two possible ways of generating an Order for the Job Chain:
    • the Add Order link at the bottom left of the Card and 
    • via the Additional Options (ellipsis) icon shown behind the pointer in the screen shot above. This will open a list of options for the Job chain Chain as shown in the next screenshot:
      • Show Flow Diagram
      • Show Configuration
      • Add Order
      • Manage Orders
      • Show Calendar
      • Stop Job Chain
      Image Added
    • Now select the Show Flow Diagram option, which will open a schematic representation of the Job Chain and a table showing the recent Order History as Add Order option to open the form to configure how the order will be started. This form is shown in the next screenshot, where the Order can be seen to be configured by default to start Now and without any change to other parameters:
      Image Removed
      The Card shown in the Job Chain represents the Hello World job and the Additional Options menu in the Card can be used to carry out operations on the Job itself, such as showing the Job's configuration or stopping it. The Order, which is required to run the Job, can be accessed via the Additional Options menu above the Job Card (behind the mouse pointer) and can be started by selecting Start Order Now Image Added
      Click on the Submit Order button to start the order. 
    • The Hello World Job Chain will be processed very quickly so you may not notice a change in the Job Chain card which will very briefly show:
      • 2 Orders and 
      • 1 Pending  1 Running before the order is completed.

  6. The presentation form used for the Job Chain view now needs to be changed to access the History for the Hello World Job Chain.
    Click on the Show List button in the View Header menu as shown in the next screenshot:
    Image RemovedImage Added
  7. The Job will only take a fraction of a second to run and therefore cannot be followed in the flow diagram but after a few seconds the Order History in the pane below the Flow Diagram will be updated as shown in the next screenshot:
    Image Removed
    Clicking on any entry in the top row of the Order History will now open the Log file for the Order that has just run, where details of the Order can be inspected if necessary.
    Image Removed

 


  1. This will change the presentation of the job Chain to a list form, as shown in the next screen shot, and includes a link to show the Order History.
    Image Added 
     
  2. Now click on the Hello World Job Chain link in the Job Chain list, which will open the History tab for the Job Chain as shown above. 
    Image Added
    By default the History tab lists the 30 most current and recent Orders run on the Job Chain with their Status, Start and End date and time as well as the Current Node. (The Success Nodes listed for all Orders shown is an end node of the Job Chain when it runs without error and all the Orders shown have run to completion. End nodes will be introduced in the next tutorial.) 

  3. Clicking on any of the entries for an Order provides a direct route to opening the log file for the Order as shown in the screenshot below.  

    Image Added

Summary

Congratulations!

You have just run your first Order Job with the JobScheduler and verified that it has run successfully.

In the next tutorial you will extend this Job Chain with the JobScheduler Object Editor, JOE and be able to observe the processing of the Job Chain as it happens.