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 do...