Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Help needed: Send Email with Options: 'SelectedOption' not in dynamic content

Hi PA community,


I built a Flow that sends an e-mail with options when a new SP list item is created and also passes the attachment.  Had some trouble with the attachment bit at first but was able to get it to pass to the e-mail after some tail chasing. (long story, originally used the Approvals connector but it still doesn't appear to support attachment passing in the approval mail).  Instead I am using 'Get Attachment', 'Get Attachment Content' and 'Send Email with Options'


The attachment passes in the e-mail with 3 options:  Approve, Reject and More Info Needed.  That part works flawlessly.


However, I also need to update the list item with decision the recipient enters in the e-mail (e.g. User Option of Approve, Reject or More Info needed).  From what I researched (examplethis should simply be the [SelectedOption] but "SelectedOption" isn't available in the dynamic content.  


Am i missing something in my Flow?




Accepted Solutions
Kudo Kingpin
Kudo Kingpin

Hi @chhowa , 
you should use switch statement just as it's been shown here

View solution in original post

Kudo Kingpin
Kudo Kingpin

Hi @chhowa , 
you should use switch statement just as it's been shown here

Dual Super User
Dual Super User

I just tried it and it works fine for me.  I see the SeletedOption value when filling out the condition.  I would try it again with the default settings first and see if maybe the "More Info Needed" needs to be in quotes or something.

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Thank you both for your replies.  The Switch case totally worked! 

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (4,298)