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 Commander
Kudo Commander

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 Commander
Kudo Commander

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 II
Dual Super User II

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,577)