elsa-core
elsa-core copied to clipboard
[BUG]In Elsa 3.1.3 designer, if an IF activity defines a condition expression {VariableIf>10}}, why is the result of this expression always false?
In Elsa 3.1.3 designer, if an IF activity defines a condition expression {VariableIf>10}}, why is the result of this expression always false?
To determine why the condition expression {VariableIf>10}} always evaluates to false in Elsa 3.1.3 designer, we would need to look at the context in which this expression is being used. However, based on the information provided, it seems like there might be a syntax error in the expression. Typically, expressions should be written with proper syntax for the language being used. In the case of Elsa, which often uses JavaScript for expressions, the correct syntax would be something like {{ VariableIf > 10 }}.
If the syntax is indeed correct in your actual expression and it's still evaluating to false, then you should ensure that the variable VariableIf is correctly set and has a value greater than 10 at the time the condition is evaluated. If the variable is not set, not passed correctly, or has a value less than or equal to 10, the expression would evaluate to false.
If you continue to experience issues, please provide more details about how the variable VariableIf is set and used within your workflow. This will help in diagnosing the issue more accurately.
This comment was generated by Glime.
Duplicate of https://github.com/elsa-workflows/elsa-core/issues/5710
I've noticed that you've been opening multiple issues on the same or very similar topics. We greatly appreciate your enthusiasm and your contributions, but we kindly ask that you consolidate related questions and issues into a single thread.
This will help us manage our time more effectively and ensure that we can address your concerns thoroughly. If you need to add more details or clarify something, please use the comment section of the original issue or update its description as needed.
Thank you for your understanding and cooperation!