Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-708

Add JITL job template SetJobResourceJob

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Medium
    • Resolution: Fixed
    • None
    • 2.5.2, 2.6.0
    • None

    Description

      Feature

      • For the handling of global variables that change values at a regular basis, for example a business date variable that is used by a larger number jobs, users would like to find a JITL job template to automate the task.
      • Consider existing solutions for Shell scripts and PowerShell scripts using the JS7 REST Web Service API.
      • Functionality
        • Create or update a job resource that holds a given variable.
        • Update the value of an argument and/or environment variable in the job resource.
          • For date values offer Java date format patterns to be specified from a parameter, for example dd/MM/yyyy,
        • Deploy the updated job resource.
      •  Parameterization.
        • The job makes use of the following arguments:
          • controller_id (optional): The Controller ID to which the updated job resource will be deployed.
            • If this parameter is omitted then the default Controller will be used that is available from the JOC Cockpit user profile that is in place for the account that connects to JOC Cockpit.
          • job_resource (required): path to the Job Resource that should be created or updated. Both specification of a path and specification of the name work similarly.
          • key (required): name of the variable (case-sensitive)
          • value (required): value of the variable.
            • The value allows any strings, numbers etc.
            • A special syntax is supported for date values: [<java-date-pattern>], for example [dd/MM/yyyy]. The Java date pattern will by replaced by the job for the current date value. 
          • time_zone (optional): if a Java data pattern is specified for the value parameter then the date is calculated for the given time zone.
          • environment_variable (optional): name of an environment variable in the Job Resource that should automatically be populated with the value specified for the key. Technically the environment variable will hold a reference to the key.
      • Operation

      Patch

      • A patch is available that provides this job for 2.4.1, 2.5.0 and 2.5.1
      • In addition to the procedure for installing the patch that is explained with https://kb.sos-berlin.com/x/aaN2B, users should remove the documentation resource js7_job_documentation_v1.1.xsl in the Resources->Documentation view.
        • The resource is located in the sos/jitl-jobs folder .
        • After removing the resource JOC Cockpit has to be restarted.
        • If users omit this step then the SetJobResourceJob job still will work. However, users will not see the the job in list of JITL Jobs when using the wizard to configure the job.

      Attachments

        Issue Links

          Activity

            People

              ur Uwe Risse
              ap Andreas Püschel
              Pramokshi Narawariya Pramokshi Narawariya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: