# Can OnaAgent capture specific Variable form return/argument value  ?

**URL:** <https://community.dynatrace.com/t/can-onaagent-capture-specific-variable-form-return-argument-value/20869>\
**Category:** Open Q&A\
**Tags:** request-attributes\
**Created:** [November 23, 2020, 10:08am UTC](https://community.dynatrace.com/t/can-onaagent-capture-specific-variable-form-return-argument-value/20869 "2020-11-23T10:08:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 23, 2020, 2:18pm UTC](https://community.dynatrace.com/t/can-onaagent-capture-specific-variable-form-return-argument-value/20869/2 "2020-11-23T14:18:15Z")

</div>

You can only specify methods without values for the deep object access. Thus you can only do the .getVariables() in your case. If you can’t modify your code, then you will need to find a more suitable method for the request attribute capture. Maybe in the code where the variable is generated.

If you can modify the code, you can leverage the OneAgent SDK to return push the request attribute value.

---

_[View the full topic](https://community.dynatrace.com/t/can-onaagent-capture-specific-variable-form-return-argument-value/20869)._
