web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Multioption Sele...
Power Automate
Unanswered

Using Multioption Select Lists

(0) ShareShare
ReportReport
Posted on by

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.  

 

Greggomatic_0-1620229366118.png

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.

Categories:
I have the same question (0)
  • Rilsina Pegado Profile Picture
    on at

    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.

    Rilsina_0-1620381488181.png

     

    If this post helps, please accept it as Solution.

  • IAmGreg Profile Picture
    on at

    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

  • ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Greggomatic 

    Did you initialize your variable as a string or array?

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard