What is the best way to implement a switch statement in my DataFlow? #52
-
|
Consider a simple switch statement involving an integer: What other approaches are out there? If you've needed to implement a switch statement before in your DataFlow, especially for more complicated contexts than this one, please share any tips or tricks on how you achieved it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.



Your current approach using a String Formatter to generate a CASE statement works well. Just a few tweaks to perhaps reduce the number of Modules needed: