Versions Compared

Key

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

...

  • Login to the JOC Cockpit, switch to the "Job Streams" tab.
  • From the left side tree view select the folder with the jobs to which a condition should be added.
  • After clicking on folder there will be a message displayed No Job Streams found. Click Here to Add. 
  • Click on the link to add the Job Stream.
  • A Create Job Stream pop up window will be displayed. Enter the name of the Job Stream and hit the "submit" button.
  • Now drag and drop the jobs for which you want to add an In Condition or Out Condition.
  • The conditions for a job can also be added or deleted by the option Edit Conditions in the action menu of the job from the list view of the "Job Streams" tab.
  1. Image Modified

      • The Conditions Editor opens for the job.

    Image Modified

Adding a Condition to a Job in an existing Job Stream

  • If the Job Stream already exists then you can drag & drop the job to which you want to add a condition.
    • Note: When dropping a job from the Job Stream the name of the Job Stream will be set by default to the name of Job Stream to which the job is added/dropped.

Image Modified


    • When the job is dropped the Conditions Editor pop-up window opens.

Image Modified

How to add an In Condition to a Job?

  • Open the Conditions Editor, if there are no In Conditions added then in the In Conditions tab there will be displayed "No In Conditions found. Click Here To Add". Click on "Click Here To Add" to add an In Condition.

Image Modified


  • Another Conditions Editor window will open.  Add the Expression to be evaluated. You can use the Expression Editor to check what Expressions are supported by Job Streams. Then select a Command which is to be executed if the Expression evaluates to true. The In Condition supports two commands:
    • startJob: This command starts the job according to the value of Command Param if the Expression evaluates to true. The default value of Command Param is now, which means the job will start as soon as the result of the Expression becomes true.
    • writeLog: This command writes the message provided with the Command Param to the task log of the job to which the In Condition is added. 

Image Modified

How to add an Out Condition to a job?

...