# How to get custom values reported by Mobile app in Grail DQL

**URL:** <https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865>\
**Category:** Dynatrace API\
**Tags:** grail\
**Created:** [September 3, 2026, 6:21am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865 "2026-09-03T06:21:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![augustin-bunani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@augustin-bunani](https://community.dynatrace.com/u/augustin-bunani)\
**Post date:** [September 3, 2026, 6:21am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865/1 "2026-09-03T06:21:12Z")

</div>

I am creating a custom action in my Swift (iOS/mobile) application as described in the Dynatrace documentation:

I can successfully see and query these reported values in **Dynatrace RUM**. However, I am unable to find or query these values using **DQL in Dynatrace Grail**.

**My question is:** How are values reported using DTXAction.reportValue() stored in Grail, and is there a way to access these custom action values using DQL? If so, what is the appropriate DQL query or field name I should use?

let myAction = DTXAction.enter(withName: “My action”)

myAction?.reportValue(withName: “My int value”, intValue: 1234)

myAction?.reportValue(withName: “My double value”, doubleValue: 12.34)

myAction?.reportValue(withName: “My string value”, stringValue: “Hello World!”)

myAction?.leave()

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [September 3, 2026, 6:30am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865/2 "2026-09-03T06:30:12Z")

</div>

[@augustin-bunani](https://community.dynatrace.com/user/85253)&nbsp;, the new RUM which uses Grail, has a different APIs and concepts described here&nbsp;[Custom events — Dynatrace Docs](https://docs.dynatrace.com/docs/observe/digital-experience/rum/mobile-frontends/android/id-08-custom-events#event-and-session-properties)&nbsp;and&nbsp;[Custom events — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/custom-events-ios#event-and-session-properties)&nbsp;for iOS

---

<div class="post-metadata">

**Author:** ![augustin-bunani](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@augustin-bunani](https://community.dynatrace.com/u/augustin-bunani)\
**Post date:** [September 3, 2026, 6:39am UTC](https://community.dynatrace.com/t/how-to-get-custom-values-reported-by-mobile-app-in-grail-dql/56865/3 "2026-09-03T06:39:34Z")

</div>

Thank you soo much this is perfect.
