Job Scheduler

add Attribute end_state to order/add_order element

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.3.5
  • Component/s: Job Scheduler Binaries
  • Description:
    Hide

    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

    Show
    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

Activity

There are no comments yet on this issue.

People

Dates

  • Created:
    07 April 2008 12:16
    Updated:
    26 August 2008 10:21
    Resolved:
    26 August 2008 10:21

Time Tracking

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