How to: IF Flow Variable Present, Follow Path A, else, Follow Path B ??

Pretty much the title. I’ve got a fairly complicated workflow to analyze my sales data, but I can’t quite figure out this part.

I’ve got a set of nodes that creates a flow variable in certain situations, but not others. As the loop churns through files, about 10% of the files will produce a specific flow variable output that requires an alternate processing flow. The flow merges further downstream and would append results at the Loop End node, before final processing.

Any ideas on how to accomplish this?

@camilo99 you should be able to handle different paths with the help of case switches

3 Likes

Hi,
would it be possible to change your workflow in that way, that the variable is always present but with different values? If so you can then use this variable to create a rule (via rule engine node) to switch different branches of a switch or if-then construct.

4 Likes

yes! Thank you for this idea, I can’t believe I didn’t think of it.
This did the trick, I was able to resolve it all in about 30 minutes. :pray:

Wonderful. I’m glad I could help.

Could you mark my answer as solution? So the answer is sticked right below your question and can be found easily in the future.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.