Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-14

Allow to remove predefined order parameters when using "start order parameterized"

    XMLWordPrintable

Details

    • Feature
    • Status: Known Issue (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Current Situation

      • If a user makes use of the operation "start order parameterized" then parameters can be added or modified, parameters cannot be removed.

      Desired Behavior

      • In addition, the user should be able to remove existing parameters of the order with JOC.

      Resolution

      • Currently the following command is used to add or to modify parameters of an order.
        <modify_order ...>
          <params>
            <param name="my_param_name" value="my_param_value"/>
            ...
          </params>
        </modify_order>
        
      • If a parameter is omitted in the above command then this parameter is still active with JobScheduler.
      • The JobScheduler doesn't provide a command to remove a parameter.
      • Therefore it is not possible to remove a parameter from JOC.

      Workaround

      • Implement your scripts to handle empty parameter values in the same way as missing parameters.
      • When using API methods to retrieve parameters then
        • an empty parameter returns an empty string.
        • a missing parameter returns null.
      • For shell jobs
        • an empty parameter is represented by an environment variable with no value.
        • a missing parameteter is not assgined an environment variable.

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d