Skip to main content
September 15, 2023
Question

Write Records Service showing inconsistent behavior

  • September 15, 2023
  • 6 replies
  • 0 views

hello all,

I am trying t write to a table using write records smart service.

The data is being written in DB table but I do not have the records updated captured in my output variables of node.

I am doing a single entry at a time and record has no relationship defined.

One thing to note here that we have configured triggers on this table which updates some columns for the same table.

We are using Postgres DB.

has anyone else experienced the same situation.

Node Configurations:

6 replies

stefanhelzle0001
Brainy
September 15, 2023

With 23.3 "Records Updated" only returns the primary keys. To get the full record, you need a separate query.

I covered that in my blog post: appian.rocks/.../

September 15, 2023

Hi Stefan,

We are not getting primary key back after writing after to DB, we are facing this in 23.2 and 23.3 release also.

stefanhelzle0001
Brainy
September 15, 2023

Then we need more details. This is pretty low level, so please be generous.

rishikeshr4182
September 15, 2023

Hey kirang,

I also faced the same issues. You can over come this issue by querying the data and then using them in the process. That works fine,