# Select a specific element within the useraction.name array

**URL:** <https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381>\
**Category:** Real User Monitoring\
**Tags:** user-actions, usql, user-sessions, javascript\
**Created:** [September 17, 2025, 3:57am UTC](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381 "2025-09-17T03:57:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![loopy](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@loopy](https://community.dynatrace.com/u/loopy)\
**Post date:** [September 17, 2025, 3:57am UTC](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381/1 "2025-09-17T03:57:50Z")

</div>

When performing the User Session Query select useraction.name from usersession the names of the actions are returned in what looks like an array. The problem statement is I would like to know after the home page where users next navigate to eg useraction.name[1]. Is there a way to split these out in this query format, or can it be done/ needs to be done using js code and an API call?

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 17, 2025, 7:10am UTC](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381/2 "2025-09-17T07:10:25Z")

</div>

In USQL, useraction.name is a multi-value field. It renders like an array, but USQL doesn’t support positional indexing (there’s no useraction.name[1]) and it can’t reliably preserve action order. If you need “what came next after Home?”, USQL alone can’t do that.&nbsp;The only thing you can do is use a funnel.&nbsp;But in a funnel, you have to define the steps yourself.

---

<div class="post-metadata">

**Author:** ![t\_pawlak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/t_pawlak/32/14991_2.png) [@t\_pawlak](https://community.dynatrace.com/u/t_pawlak)\
**Post date:** [September 17, 2025, 7:15am UTC](https://community.dynatrace.com/t/select-a-specific-element-within-the-useraction-name-array/53381/3 "2025-09-17T07:15:36Z")

</div>

You can also export user sessions to another tool and process them there, using the user session export.  
[https://docs.dynatrace.com/docs/observe/digital-experience/session-segmentation/export-session-data](https://docs.dynatrace.com/docs/observe/digital-experience/session-segmentation/export-session-data?utm_source=chatgpt.com)
