Errors in Object of type ... with guid cannot be updated, as it does not exist anymore

1
Hi there, This is the first time I have seen an error like the one in the image below. I looked at the microflow and it did not seem wrong, and when I looked at Variables in debug it was present, but the error was marked as not present. The error occurs in the red circled area. What is the solution to this?
asked
1 answers
1

I've seen this in two scenarios:

- the newly created object is passed as a parameter to a flow / java action that is executed in it’s own transaction and committed there, but in that case the object doesn’t exist yet in this transaction, throwing this error.

- more likely: the object was deleted by an action earlier in the flow. Look for example for a deleted associated object that also deletes your object through delete behavior (a red or blue association in your domain model).

answered