Is there a conditional data node?

I’m familiar with If and Switch nodes, but those are conditional routing/workflow nodes. Is there conditional data node similar to a Case When in SQL? If value = X then X else Y

Or will I have to do this in Code node?

Are you looking for the switch node?

I want to update a value within a list of data elements based on a condition, not route based on condition. My understanding is Switch is used for routing

yes thats true, but if you follow it with a SET node you can set the values like this as well. :wink:
You can also use an expression like this:
{{ condition ? true value : false value }}
not sure if there is an equivalent for case statements. there might be. :slight_smile:

2 Likes

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