I have a table that has rows in it that are being populated by a lookup on the forms side.
In the workflow, I need to be able to query on this field to update a table in a database - Each row value is a column in the database (there can only be one value per row per class)
example
Name Value Class
Test1 Pizza Food
Test2 couch Furniture
I need to update a SINGLE row in SQL
Update SQLTable set Furniture = 'Couch' , food ='Pizza' where BP_Instance_ID = ID
Table result
ID Furniture Food
1 couch Pizza
or something like that - doesn't have to be in SQL can be workflow, just not sure on the 'how' to do this.
I have set up a for each value, but I actually don't know how to query the token set once it's created to determine how to use each to update a row.
Does anyone have an example of how to do this in the Workflow?
Thoughts and Ideas are appreciated