I am looking for the best way to query a record from a table and to mark it as Assigned and avoid a different thread of the same automation from picking that row -- something like a select-for-update or distributed locking. In the example below, I don't want 2 simultaneous runs of the automation to pickup gtin3.
From what I can find there is no native support for something like this. The best way I can think of is to read an unassigned record and in the next step of the automation to update it as assigned before doing other steps. And later revert it back if the subsequent steps runs into failures. Looking to learn how others might have worked around this.
The automation is run in Make.com