# Notify about new entity relationships in Dynatrace

**URL:** <https://community.dynatrace.com/t/notify-about-new-entity-relationships-in-dynatrace/49439>\
**Category:** Automations\
**Tags:** dql, workflows\
**Created:** [December 19, 2024, 2:07pm UTC](https://community.dynatrace.com/t/notify-about-new-entity-relationships-in-dynatrace/49439 "2024-12-19T14:07:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cedric](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@Cedric](https://community.dynatrace.com/u/Cedric)\
**Post date:** [December 19, 2024, 2:07pm UTC](https://community.dynatrace.com/t/notify-about-new-entity-relationships-in-dynatrace/49439/1 "2024-12-19T14:07:20Z")

</div>

Hello,

I would like to know if it is possible to be notified when Dynatrace detects a new link between 2 services (and which isn’t linked to user activity). I started slowly by using the APIs to know the relationships linked to a service. Then I explored Grail and by reading tutorials and doc, I make these request :

fetch dt.entity.service  
|fieldsAdd service\_out = calls[dt.entity.service]  
|expand service\_out  
|lookup sourceField:service\_out, lookupField:id, [fetch dt.entity.service]  
|fields entity.name, Service\_OUT=lookup.entity.name

(and another request with called\_by)

My first question would be to know difference between the different possible fields (calls, affects, balances, childs, contains, etc.) because I don’t find this information easily. Maybe there is one that is more suited to my need than the other.

Then I discovered the notion of workflow and I wonder if there is a type of event that meets my need (appearance of a new link) that can act as a trigger for the execution of a DQL query warning an external tool of the appearance of a link.

I therefore come to ask you for your opinion, ideas or even one solution that could meet my need, hoping that it is explicit 🙂

Regards

---

<div class="post-metadata">

**Author:** ![izabelarokita](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/izabelarokita/32/41812_2.png) [@izabelarokita](https://community.dynatrace.com/u/izabelarokita)\
**Post date:** [December 15, 2025, 10:58am UTC](https://community.dynatrace.com/t/notify-about-new-entity-relationships-in-dynatrace/49439/2 "2025-12-15T10:58:14Z")

</div>

Hi&nbsp;[@Cedric](https://community.dynatrace.com/user/76786)&nbsp;,

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.
