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

Compare with Current View Page History

Version 1 Next »

Introduction

  • The JS7 includes jobs being available within a workflow to guarantee a consistent configuration. Jobs are not individual objects that can be modified independently from the workflow in which they occur.
  • Reasons for this design include 
    • to guarantee consistency: if jobs were modified independently from a workflow then there is no guarantee that the modification is compatible for all occurrences of the job, e.g. if job arguments are modified. Such incompatibilities would occur at run-time of a workflow and are hard to anticipate. Instead, with availability of jobs and any related references to objects such as JS7 - Job ResourcesJS7 - Resource Locks etc. the workflow configuration is automatically validated to be consistent. Only consistent workflows can be deployed, minimizing the risk of incompatibilities introduced by changes to individual jobs.
    • to consider the versioning implemented by a JS7 Controller. The Controller keeps track of active versions of a workflow. An active version is a workflow that is assigned an order.
      • A workflow can be modified and deployed, then orders are assigned for future execution of this workflow version, maybe for a few days ahead.
      • If the workflow is modified in between then this does not affect the workflow version that is currently assigned an order. Instead the existing workflow version is unchanged and will run with any jobs as previously deployed. The workflow is dropped automatically later on by the Controller when no more scheduled orders are assigned this workflow version. This guarantees that any scheduled orders and parameterization will work for the workflow version they have been submitted for.
      • The modified workflow including its job definitions is deployed to a new workflow version that becomes available in addition to the previous workflow version. Any newly added orders are added to the latest version of the workflow.
      • If workflow modifications should be applied to orders already scheduled, then such orders can be cancelled (from the original workflow version) and can be re-submitted (to the current workflow version) from the JS7 - Daily Plan.
  • The JS7 offers bulk operations for jobs to leverage modification of a number of jobs across workflows. Based on use of the same job name in a number of workflows any job properties and job options can be modified just once and can be applied to any or to selected occurrences of the job.

Bulk Operations

Search for Jobs

Bulk operations start from a JS7 - Inventory Search for workflows that is available with the Search button from the Configuration view:


Explanation:

  • Bulk operations for jobs require to specify
    • workflows as the search result object and
    • a job name.
  • It is recommended to use the checkbox Exact Match for Job Name in order to limit results to an exact match. Otherwise any jobs with names that include the search term, for example job1, are subject to bulk operations.

Select Search Results

The result of the above search operation can look like this:


Explanation:

  • Search results are displayed as a list of workflows that include jobs with the specified name.
  • Users can select all hits or can select individual workflows for bulk operations.
  • Two bulk operations are offered
    • Propagate Job: this operation is used to modify any properties starting from an individual job and to copy all job properties to any occurrences of the job in the selected workflows.
    • Update Job: this operation allows to modify individual properties and to update modified properties in any occurrences of the job in the selected workflows.

Propagate Job

When using the Propagate Job button from the above example then in a first step the list of workflows is displayed that includes a job with the specified name. 

From this list select the workflow that includes the job to be used as a template for propagation to any other occurrences of the job:


After selection of the workflow, the job properties and job options are displayed like this:


Explanation:

  • The properties are displayed as given with the job from the selected workflow.
  • Any changes to job properties and job options can be applied.
  • When hitting the Submit button then the current job including any job properties and job options is copied to any occurrences of the job in the selected workflows.

Update Job

When using the Update Job button from the above example then a popup window appears with no properties being populated except for the job name.


Explanation:

  • The popup window allows to specify individual job properties and job options.
  • Any changes performed in the popup window are applied to any occurrences of the job in the selected workflows. Consider that individual changes only are applied. For example when modifying the Agent assignment then all jobs will be updated to use this Agent. However, this does not change any job properties except for the Agent assignment.
  • If the job name is modified then this change is similarly applied to any occurrences of the job in the selected workflows.



  • No labels