API add regenerates intial value for the existing row

Hi,
I have a table and I add columns using API post.
When the API add rule is triggered once for a new row, everything seems to work fine. Row is added and UUID is generated.

But if the API add is triggered twice for the same row (note I send the key column) random UUID is regenerated and another workflow is triggered. (This is not expected behavior but sometimes it happens.)

Since the row is the same, I expect the API add to work as edit and do not update the UUID column which is defined as below.

Can anyone help?

0 3 172
3 REPLIES 3

If you know the key of the existing record, then you should use Edit, not Add.

Add API is triggered twice, it is not an intended action but happens.
Setting edit is not an option.

Sounds like your real problem is that the Bot is triggering twice. Do you know why it is triggering twice?

Top Labels in this Space