# Remedy ticket isn't generating after DQL query returns result of zero

**URL:** <https://community.dynatrace.com/t/remedy-ticket-isnt-generating-after-dql-query-returns-result-of-zero/52111>\
**Category:** Alerting\
**Tags:** problems\
**Created:** [June 16, 2025, 10:30am UTC](https://community.dynatrace.com/t/remedy-ticket-isnt-generating-after-dql-query-returns-result-of-zero/52111 "2025-06-16T10:30:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijaypalve](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vijaypalve](https://community.dynatrace.com/u/vijaypalve)\
**Post date:** [June 16, 2025, 10:30am UTC](https://community.dynatrace.com/t/remedy-ticket-isnt-generating-after-dql-query-returns-result-of-zero/52111/1 "2025-06-16T10:30:58Z")

</div>

hi Team,

We are utilizing the ServiceBroker action (‘Create Incident & Send to Service Broker’) to automatically generate a Remedy incident when a DQL query returns a result of zero. However, the expected incident is not being generated.

The intended functionality is that whenever a Docker process becomes stuck, a Remedy incident should be triggered, specifying the reason for failure and the corresponding job name. To achieve this, we have implemented ServiceBroker and formulated the following DQL query. If logs exist within the last 60 minutes, no incident is required. However, if the query returns a result of ‘0’[Zero], it should initiate a Remedy incident. Currently, this expected behavior is not occurring.

fetch logs, from: -60m  
| filter matchesPhrase(index, “myindexname”)

| parse content, “”“LD “‘job\_name’:” SPACE SQS:job\_name”“”  
| fieldsAdd container\_name = splitString(source, “/”)[-2]  
| fieldsAdd interface\_name\_temp= splitString(source, “/”)[-1]  
| fieldsAdd interface\_name= splitString(interface\_name\_temp,“.”)[0]  
| filter container\_name== “raw-to-c3” and interface\_name == “billing\_transfer”  
| dedup host,container\_name,interface\_name  
| fields host,container\_name,interface\_name"

 ![vijaypalve_1-1750069708782.png](https://global.discourse-cdn.com/dynatrace/original/2X/1/1098f5ddcc3fe5a5d2b35097738d0bb056fc62c0.png)

need help to resolve above issue. not sure, what I am doing wrong here.

---

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [June 16, 2025, 5:49pm UTC](https://community.dynatrace.com/t/remedy-ticket-isnt-generating-after-dql-query-returns-result-of-zero/52111/2 "2025-06-16T17:49:49Z")

</div>

I am not familiar with the “Create Incident & send to Service Broker” workflow action. Is this action part of a connector provided by Dynatrace or something custom?

---

<div class="post-metadata">

**Author:** ![vijaypalve](https://avatars.discourse-cdn.com/v4/letter/v/f475e1/32.png) [@vijaypalve](https://community.dynatrace.com/u/vijaypalve)\
**Post date:** [June 17, 2025, 7:38am UTC](https://community.dynatrace.com/t/remedy-ticket-isnt-generating-after-dql-query-returns-result-of-zero/52111/3 "2025-06-17T07:38:17Z")

</div>

it is provided by dynatrace.

 ![vijaypalve_0-1750145883066.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/a/5aa1ebd4ddc95eaff89b9b0745ed77158add35c9.png)
