Announcement Announcement Module
No announcement yet.
Aggregating exitStatus of flow elements within Spilt Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.