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

Announcements

News and Announcements icon
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,290 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 997

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 642

Last 30 days Overall leaderboard