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

Running DQL in Workflow - How to make task fail if no results come back

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi

I have a use case where my workflow must wait until a certain DQL query returns data. My thought was to use a DQL Task and let it "retry on error". The problem is that I cant specify my "success condition" of the DQL query as the DQL task always returns successful as long as the query itself is not invalid.

Any thoughts on this? I know I can solve this by using a JavaScript task that exeuctes the DQL but wondering if there is an option of just using the DQL Task

Contact our DevRel team through devrel@dynatrace.com
2 REPLIES 2

ksimovski23
Observer

Any updates by chance?

andreas_grabner
Dynatrace Guru
Dynatrace Guru

Hi. I just internally reached out to our product manager @ChristopherHejl - he told me that they are planning to add the option to have a task fail in case no results come back. 

Contact our DevRel team through devrel@dynatrace.com

Featured Posts