Pick activity should come with one Default branch

hi folks,

The other day I came across one situation, where I’d used Pick activity with 4 Pick branch in my workflow.
Those 4 conditions are expected, that’s why i’d used Pick branch using those 4 triggers, After executing it several times, i’d realized that, it is giving exception if there’s any 5th scenario, which is completely fine.
To handle this any can use their own logic Or error handling.

So on this I have one suggestion, is that… what if Pick activity comes with one Default branch, like we’ve default case in switch activity, then this wouldn’t be a problem anymore.



Hi @samir,
Thank you for your suggestion. I added it to our internal ideas tracker for our team to consider.

Thanks for your consideration. @Pablito

1 Like

Hi @Pablito

Thanks for considering this idea. Even I have the same requirement.
But In addition to what @samir said, we should add Default Action instead of Branch. We do not need trigger in the default case except Action what needs to be done. When the exception is thrown, handle it in the default action and continue with the rest of the workflow.

Thank you.

Karthik Byggari


Hi @Pablito there is one more issue in pick branch activity. If I have added multiple branch and all the trigger condition false still pick branch activity performing the action of left most branch. It seems like pick branch activity by default picking left most branch if all the branch condition is false. If this is the case then there should be a default branch in pick branch activity.


@KarthikByggari yes you are correct.