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.

Thanks
Samir.

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
@loginerror

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.

Regards,
Karthik Byggari

1 Like