31 May 2025 06:31 PM
I have a custom configuration at the beginning of a HTTP task (sn-prod-inc-creation). The condition is:
{{ result("parse_entity_tags").prime_alert_type == 'inc' }} and validates as 'true' in the "preview".
The result is from a javascript task and the HTTP task waits for the javascript task to complete before it is run.
However, when I run the workflow I get the following error:
Unhandled failed task(s) during workflow execution:
sn-prod-inc-creation:
Error evaluating custom condition. Undefined variables: prime_alert_type.
02 Jun 2025 05:20 PM
Hi jbone!
Can you please send a screenshot of the JavaScript task Result tab?
The best approach is the following syntax:
{{result("run_javascript_1")["boolean"] == True}}