Replies: 2 comments
-
I've been trying to do the same, albeit with 3+ possible answers so else-if would great as well. I think this should work for you, but I can't test it atm:
This was successful for me, as comparison in case the formatting above is suspect.
I've nested other Ternary Expressions in the true or false response, but I'm not confident of that working well. |
Beta Was this translation helpful? Give feedback.
-
I modified my workflow so I didn't need this, but thanks for sharing, hope a solution can be found for your need. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to determine a field value by comparing the date of another field value against today's date. I've tried a number of ways and I'm not getting any results. For example:
if(current.dateFinished >= (new Date())){"Active"} else {"Closed"}
the 'dateFinished' property is of type 'Date'. Are If/Else statements supported, and if so, how could I accomplish my goal?
Beta Was this translation helpful? Give feedback.
All reactions