
Hi,
In a flow where data is extracted from a form to upload into a dataverse table, I want to work with a variable array for the Weekdays selection column. For this I have the action initialize variable weekdays which is an array.
Then I use conditions to extract the weekdays from the form in parallel branches.
If the weekday is checked in the form, an append to array action is performed, which produces the following result in the compose weekdays action.
However, with the action add a new row to Internship requests where variables weekdays or the outputs of the compose are given as custom values, I always get the following output: { "error": { "code": "0x80060888", "message": "The optionset values sent [826410021,826410024,826410020] are not valid integers." } }
Can someone help me find how to make it work? I've bin busy with this for three days now, tried every possibility i could think of but for some reason the flow does not except the numbers as integer.
Thanks in advance!
Hi @Stefaniebc,
Can you try the below expression in your add new row action field instead?
join(variables('Weekdagen'), ',')