# In a logic block, can I fetch records from a table that is connected to JDE via a Real-Time Data Registration?

**URL:** <https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349>\
**Category:** Nextworld Platform\
**Tags:** logic-blocks\
**Created:** [October 14, 2025, 3:25pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349 "2025-10-14T15:25:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [October 14, 2025, 3:25pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/1 "2025-10-14T15:25:09Z")

</div>

Someone I’m working with is trying to do this and keep hitting the error `Error - Logic block execution failed for logic block: xxxxxxx. Caused by: Cannot fetch and lock on an external system.`

Is this even possible? I asked Ed this exact question and he indicated the answer is yes, but, from what I read in help, I didn’t notice anything saying this is supported. What I saw was Help mention support for applications built over these tables, but no mention of logic blocks directly fetching from such tables.

 ![image](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/073060cd32e4874649fd9ced4d8fa301da2990bd.png)

---

<div class="post-metadata">

**Author:** ![jaco.theron](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/jaco.theron/32/180_2.png) [@jaco.theron](https://community.nextw.com/u/jaco.theron)\
**Post date:** [October 15, 2025, 7:50am UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/2 "2025-10-15T07:50:48Z")

</div>

Just to add onto this, when building an application over the internal table one can see that there are records in the application but you cannot view or see the data. In the example below one can filter on an external address number but cannot see any values.

 ![Screenshot 2025-10-14 at 12.10.09](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/6cae123d0ac74f0dc2351828947a6701268c9060.png)

---

<div class="post-metadata">

**Author:** ![ross](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ross/32/144_2.png) [@ross](https://community.nextw.com/u/ross)\
**Post date:** [October 15, 2025, 4:30pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/3 "2025-10-15T16:30:08Z")

</div>

@chris.walsh should a logic block be able to fetch from JDE? Per @jaco.theron’s note, it looks like certain filtering in the UI isn’t working, which leads me to believe that queries might not be supported.

---

<div class="post-metadata">

**Author:** ![tracy.l](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/tracy.l/32/339_2.png) [@tracy.l](https://community.nextw.com/u/tracy.l)\
**Post date:** [October 15, 2025, 8:13pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/4 "2025-10-15T20:13:43Z")

</div>

Ross, Jaco is actually creating nwID’s, but no data is being brought back.

 ![Screenshot 2025-10-15 at 2.09.56 PM](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/3a680844d4ca03b12a9c15b03a550b4495c6d8b8.png)

---

<div class="post-metadata">

**Author:** ![cheyanne.schwiethale](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/cheyanne.schwiethale/32/267_2.png) [@cheyanne.schwiethale](https://community.nextw.com/u/cheyanne.schwiethale)\
**Post date:** [October 16, 2025, 3:15pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/5 "2025-10-16T15:15:02Z")

</div>

@ian.p yes, you should be able to fetch from a real-time table in a logic block, but you cannot fetch and lock. What flavor of fetch action are you using in your logic block?

---

<div class="post-metadata">

**Author:** ![cheyanne.schwiethale](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/cheyanne.schwiethale/32/267_2.png) [@cheyanne.schwiethale](https://community.nextw.com/u/cheyanne.schwiethale)\
**Post date:** [October 16, 2025, 3:16pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/6 "2025-10-16T15:16:22Z")

</div>

@tracy.l and @jaco.theron this speaks to me that the data isn’t getting mapped correctly when coming back from the external system. I’m anticipating by the name of your app in this screenshot that it is built over a Data Service, not an Orchestration?

---

<div class="post-metadata">

**Author:** ![ian.p](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/ian.p/32/427_2.png) [@ian.p](https://community.nextw.com/u/ian.p)\
**Post date:** [October 16, 2025, 3:30pm UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/7 "2025-10-16T15:30:31Z")

</div>

The table is built over a `Data Source Type` = `Data Service` yes.

The action in the logic block is a regular `Fetch Records`, it does not involve any locking.

From what I’m hearing, fetching from such a table is supported and it not working might be a bug or misconfiguration.

---

<div class="post-metadata">

**Author:** ![jaco.theron](https://sea1.discourse-cdn.com/flex001/user_avatar/community.nextw.com/jaco.theron/32/180_2.png) [@jaco.theron](https://community.nextw.com/u/jaco.theron)\
**Post date:** [October 17, 2025, 6:41am UTC](https://community.nextw.com/t/in-a-logic-block-can-i-fetch-records-from-a-table-that-is-connected-to-jde-via-a-real-time-data-registration/1349/8 "2025-10-17T06:41:56Z")

</div>

Hi Cheyanne, its a data service

 ![image](https://us1.discourse-cdn.com/flex001/uploads/nextworld/original/1X/5ef7718cd94ebdc66272a5ba6d0c669bdb18c4ce.png)
