# Forest new agent - getRecord returns undefined

**URL:** https://community.forestadmin.com/t/forest-new-agent-getrecord-returns-undefined/7788
**Category:** Help me!
**Created:** [January 27, 2025, 2:02pm UTC](https://community.forestadmin.com/t/forest-new-agent-getrecord-returns-undefined/7788 "2025-01-27T14:02:09Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![anon7284711](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@anon7284711](https://community.forestadmin.com/u/anon7284711)
#### Post date: [January 27, 2025, 4:21pm UTC](https://community.forestadmin.com/t/forest-new-agent-getrecord-returns-undefined/7788/2 "2025-01-27T16:21:59Z")

</div>

Hello @Adel_de_Clevermate,

I see that you were able to resolve the [previous issue](https://community.forestadmin.com/t/new-agent-smart-action-getrecordid-retruns-error/7787/8), that looks very related to this one, by redefining the `replaceFieldOperator` on your collection.

I would also suspect the same issue for your `c_candidatures` collection as I see a similarly named field: `action_enum`. Would it happen to be the same case of a smart field with a replaceFieldOperator defined on your collection ?

---

_[View the full topic](https://community.forestadmin.com/t/forest-new-agent-getrecord-returns-undefined/7788)._
