Skip to main content
January 26, 2023
Question

I want to update a row when save to data store entity instead of generate a new row with a new id

  • January 26, 2023
  • 3 replies
  • 0 views

I want to update a row when save to data store entity instead of generate a new row with a new id.
I cofigured write to data store entity of output tab (plz check my attached screenshot)

When In debug and check my Id did not get id value.

3 replies

stefanhelzle0001
Brainy
January 26, 2023

Could it be that you configured multiple save activities targeting the same variable? I see that custom output. And what does your input config look like.

Background: All configured save activities in inputs and outputs will evaluate at the same time.

girlc0001Author
January 26, 2023

Thank u for you reply . My input value is (plz look my attached screenshot)

I want to flow as first is apply form and insert data into database and created automatically primary key id and then
when rejected my apply form want to update my status using my fist created key.

stefanhelzle0001
Brainy
January 26, 2023

Remove the "Save Into" assignments. The value configured here is the data that is sent TO the database. Storing these to your PV will conflict with the configs in the output tab.