cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Configurations in Workflow Task

jbone128
Newcomer

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.



1 REPLY 1

haris
Dynatrace Mentor
Dynatrace Mentor

Hi jbone!

Can you please send a screenshot of the JavaScript task Result tab? 

Screenshot 2025-06-02 at 18.17.59.png

The best approach is the following syntax:

{{result("run_javascript_1")["boolean"] == True}}



Featured Posts