Hi,
I have a D365 (CDS/Dataverse) field on an entity that supports multiple options to be picked for the field.
When I run the flow, the results come back as one big string.
Is it possible to have the results come through as an Array? And/or convert?
The next step I want to do is to have an "Apply For Each" action that goes through each value that is retrieved and determines the next action.
Is this possible?
Thank you - Greg.
Hi,
Can you share the code for your split function?
I have an init variable command and using the following code
split(@{outputs('Get_Data')?['body/cs_delivery']},',')
However, no matter what I do I always get the following error...
The variable 'Channel_Delivery' of type 'Array' cannot be initialized or updated with value of type 'String'. The variable 'Channel_Delivery' only supports values of types 'Array'.
Thanks - Greg
Hi,
The Output of Multiselect Option set is in form of comma separated string, you can split it and then use apply to each on the output.
If this post helps, please accept it as Solution.
WarrenBelz
146,537
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,908
Most Valuable Professional