cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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?

 

blehhh.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Kudo Kingpin
Kudo Kingpin

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

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

https://flow.microsoft.com/en-us/blog/search-by-service/

View solution in original post

3 REPLIES 3
Highlighted
Kudo Kingpin
Kudo Kingpin

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

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

https://flow.microsoft.com/en-us/blog/search-by-service/

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

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

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.
Highlighted
Regular Visitor

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

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,799)