Repository navigation
if / Else #1062
Replies: 1 comment
|
I also believe if/else would be such a useful addition. However, within the current architecture, of events with conditions/actions, i don't see a clear way of implementing if/else logic in. I have suggested a way to implement in #953 replicating the behavior of "if" currently, which can be used with help of variables to get the desired elseif & else behaviors as well. If you have any other proposals for plactically implementing if-else logic into the current scenario flow, do suggest that as well. As a side-note, a somewhat overlapping capability from if-else can be currently implemented as well by "Toggle State" action within events. You enable/disable events based on which ones got executed previously. It's in many ways providing a more granular control than if-else, at the expense of being more tedious to micro-manage the flow. |
Uh oh!
There was an error while loading. Please reload this page.
Hi, thanks for the great work! I was wondering — are you planning to add if-else conditional logic to the code (e.g., for handling different user scenarios)?
All reactions