Results 1 to 2 of 2

Thread: Aggregating exitStatus of flow elements within Spilt

  1. #1
    Join Date
    Apr 2010
    Posts
    2

    Default Aggregating exitStatus of flow elements within Spilt

    Is there a way to do that?

    I would basically like to be able to define a reuse the processApple and processOranges flows (which is defined out of the job). Both flows has skip listeneres in the steps and will exit the flow with a code of TERMINATED on skipped steps.

    In my main job, while processApple and processOranges works in parallel, I need to be able to know the exitStatus of the 2 processes, if one of them is TERMINATED, then my main job should also fail.

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    I don't think the splits have any aggregation strategies you can override. Your best bet is to look at the JobExecution downstream of the split (e.g. in a <decider/>) and make the decision there. You could do it in this case I think based on knowing the step names of the executions that need to be checked for the special status.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •