What is the best way to implement a switch statement in my DataFlow? #52
Answered
by
andyvidan
gdaccache
asked this question in
DataFlows & Modules
|
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. |
Answered by
andyvidan
Jun 13, 2025
Replies: 1 comment
0 replies
Answer selected by
gdaccache
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



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: