# Agent execution internal variables

**URL:** <https://community.automationedge.com/t/agent-execution-internal-variables/10537>\
**Category:** Process Studio\
**Tags:** rpa\
**Created:** [August 26, 2023, 9:10pm UTC](https://community.automationedge.com/t/agent-execution-internal-variables/10537 "2023-08-26T21:10:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wllmdjngh](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/wllmdjngh/32/952_2.png) [@wllmdjngh](https://community.automationedge.com/u/wllmdjngh)\
**Post date:** [August 26, 2023, 9:10pm UTC](https://community.automationedge.com/t/agent-execution-internal-variables/10537/1 "2023-08-26T21:10:34Z")

</div>

I would like to capture process variables during execution of workflow when executing with an agent, for example: WF\_NAME.  
What are the variables that are available to be managed?  
Specifically interested to know the Request\_ID, for now.

I found an image of variables that were available but seem some of them are not. Below the list:  
${WF\_INSTANCE\_ID), ${WF\_NAME}, ${WF\_INSTANCE\_CREATION\_DATE}, ${AGENT\_NAME}, ${WF\_INSTANCE\_SOURCE}, ${WF\_INSTANCE\_SOURCE\_ID}, ${PARENT\_WF\_INSTANCE\_ID}, ${WF\_ID}, ${PARENT\_WF\_ID}, ${PARENT\_WF\_NAME}, ${AE\_USER\_ID}, ${AE\_USER\_NAME}, ${AE\_USER\_EMAIL}

Thanks

---

<div class="post-metadata">

**Author:** ![wllmdjngh](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/wllmdjngh/32/952_2.png) [@wllmdjngh](https://community.automationedge.com/u/wllmdjngh)\
**Post date:** [September 3, 2023, 2:04pm UTC](https://community.automationedge.com/t/agent-execution-internal-variables/10537/2 "2023-09-03T14:04:57Z")

</div>

Hi there.  
Any tips on this request?  
Thanks

---

<div class="post-metadata">

**Author:** ![Jane](https://avatars.discourse-cdn.com/v4/letter/j/ecb155/32.png) [@Jane](https://community.automationedge.com/u/Jane)\
**Post date:** [September 4, 2023, 11:53am UTC](https://community.automationedge.com/t/agent-execution-internal-variables/10537/3 "2023-09-04T11:53:24Z")

</div>

Hi! Willem,

You can use the Modified Java Script step to capture the Request ID.

Please use the following script:  
var ae\_request\_id = getVariable(“WF\_INSTANCE\_ID”,“”)
