Automations
All questions related to Workflow Automation, AutomationEngine, and EdgeConnect, as well as integrations with various tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Display custom condition results as string in workflows

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?

 

 

 

2 REPLIES 2

IzabelaRokita
Community Team
Community Team

Hey @loopy ,

I just wanted to check in and see if you still need help with this. If so, I’d be happy to look into it for you! 😊
Please let me know what works best for you.

Hi @IzabelaRokita ,

No solution has been found yet so I had to impliment a work around. If you are able to look into this, much appreciated. 

 

Featured Posts