Fix the Switch module so that it only evaluates the expression of the matching case | Community
Skip to main content
DavidCornwellLP
Level 3
October 27, 2024
New

Fix the Switch module so that it only evaluates the expression of the matching case

  • October 27, 2024
  • 1 reply
  • 435 views

Description - Fix the Switch module so that it only evaluates the expression of the matching case

Why is this feature important to you -  Currently it evaluates all expressions for all cases, and sometimes this generates an error even if it is for a case that wasn't selected.

 

The above has been confirmed by Support who said that other customers have reported this issue but it won't be resolved as a bug at this point. 

1 reply

Sven-iX
Community Advisor
Community Advisor
October 30, 2024

Yep - I reported that a few months back. 

 

They recommended to use router/filter to avoid these errors. 

 

The reason they won't jump on fixing this is because apparently this is a significant code effort AND the module is widely used (ie a fix would need to be thoroughly QA'd)