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

Workflows Custom Conditions results showing as string

loopy
Frequent Guest

In workflows I need to build an alert to execute this script which does a countIf of two parameters and then trigger an alert if both counts are higher than a hardcoded threshold. The results are showing as below as type long, but the actual value appears to be a string.

loopy_0-1759187392972.png

As an example of just trying to get a second trigger to run I have a custom condition of:

{{result("execute_query")["records"][0]["count_process"]>0}}

Which bring back an error saying the given results are of type string while I'm trying to do an int operator.

loopy_1-1759187631879.png

Any suggestions of what I am doing wrong here, in the custom conditions, the DQL, or another setting to get the output to be properly as a long/int?

 

 

 

0 REPLIES 0

Featured Posts