Write Records Error: field (primary key) does not have a default value

Hi! I´m trying to update a value (recepcionado = true) by clicking a button in an interface (button --> changes a field of the record to "true"). I created the interface and the rule input (record, from my record type) changes its value correctly, but it´s not saved. I did a process model to save the records, but when I try to use the write records component, the following message appears:

ID pedido is my primary key in this record type. The interface (process start form) is a summary view for each ID_pedido, so I don´t know how to fix this error. When I run the process, even though the write records fails, my process variable (recepcionado = true) is saved

What can I do?

  Discussion posts and replies are publicly visible