Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-708

Order setback runs endless when the job chain node has a delay

    XMLWordPrintable

Details

    • Fix
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.3.12.1248
    • None
    • None

    Description

      If I have a job chain node with on_error="setback" and a delay, then the setback runs endless (when the setback reached its maximum, then it starts from the beginning).

      Example:

      <job_chain orders_recoverable="yes" visible="yes">
      <job_chain_node state="start"
      job="error_job"
      next_state="SUCCESS"
      error_state="ERROR"
      on_error="setback"
      delay="3"/>
      <job_chain_node state="SUCCESS"/>
      <job_chain_node state="ERROR"/>
      </job_chain>

      Job 'error_job':

      <job order="yes" stop_on_error="no">
      <script language="shell">
      <![CDATA[
      echo Job throws error
      exit 1
      ]]>
      </script>
      <delay_order_after_setback setback_count="1"
      is_maximum="no"
      delay="05"/>
      <delay_order_after_setback setback_count="4"
      is_maximum="yes"
      delay="0"/>
      <run_time/>
      </job>

      Attachments

        Activity

          People

            ss Stefan Schädlich (Inactive)
            oh Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: