I am using backend workflows to iterate over an API response to create new rows in the database.
I would like to update one database data type with information from another data type. I’ve been able to do this when searching for one value in the second database but I can’t wrap my mind around the logic when I need to search for more than one value.
Data Type: Item
Data Fields:
list_of_option_id (list of Text)
list of Options (list of Options)
Data Type: Option
Data Fields:
option_id (text)
I would like to update Item > list of Options
when the
Option > option_id is a value in the Item’s list_of_option_id
Backend Workflow:
Create a row in the Options database:
Create a row in the Item database:
In the API workflow where I create an Item, this is what I’m doing for the data field list of Options:
I’ve also tried “contains” but neither of these return the bubble id for the Options row to the corresponding Items database.
It’s not a race conditions issue as I create options first and don’t move onto the next step of creating items until the final option is created.
There are no current privacy rules for any of the data types.
Any help would be greatly appreciated!