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

add Attribute end_state to order/add_order element

    XMLWordPrintable

Details

    Description

      The attribute end_state causes an order to leave a job chain at that state (more precisely: after being processed in that state).
      If the order is set to the error state at the specified end state, it will not leave the job chain. Instead it will take the path that is configured for the error state.

      e.g.

      <job_chain name="test">
      <job_chain_node state="a" job="job_a"/>
      <job_chain_node state="b" job="job_b" next_state="c" error_state="error"/>
      <job_chain_node state="c" job="job_b" next_state="end" error_state="error"/>
      <job_chain_node state="end"/>
      <job_chain_node state="error" job="job_error" next_state="error_end" error_state="error_end"/>
      <job_chain_node state="error_end"/>
      </job_chain>

      <add_order id="order_a"/> will go: a->b->c->end
      <add_order id="order_a" end_state="b"/> will go: a->b
      if an error occurs in b, <add_order id="order_a" end_state="b"/> will go: a->b->error->error_end

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            al Andreas Liebert (Inactive)
            al Andreas Liebert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 3 hours
                3h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h