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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Capture trigger input ...
Power Automate
Unanswered

Capture trigger input selection from drop-down list of options

(0) ShareShare
ReportReport
Posted on by 18

I have a SharePoint flow starting with a For a selected item trigger with a text input containing a drop-down list of inputs. I would like to capture the user's selection from that list to compose a string, but I've been unsuccessful. I've tried the following expression based on the Peek Code for the trigger (shown below), but it's not working. What expression should I use in Compose to capture text input selection as an output?

 

 

'triggerBody()['TaskType']'

 

 

 The beginning of my flow

Flow.pngPeekCode.png

 

 

 

Categories:
I have the same question (0)
  • krootz Profile Picture
    458 on at
    Re: Capture trigger input selection from drop-down list of options

    @rlengacher from the dynamic contents, you should see a "TaskType", if not, use the expression triggerBody()['text']

  • Verified answer
    rlengacher Profile Picture
    18 on at
    Re: Capture trigger input selection from drop-down list of options

    I solved this myself. I expected the Text input selection to be listed in a different section of the Compose > Dynamic content list, but it's actually listed with the selected item Dynamic content.

    DynamicContent.png

  • rlengacher Profile Picture
    18 on at
    Re: Capture trigger input selection from drop-down list of options

    Thanks, @krootz I actually found it hiding in the Dynamic content list with the rest of the available inputs from the selected item. I expected it to be listed in different section. 

     

    I tried all kinds of triggerBody() permutations, including the one you suggested, but none of them worked.

  • krootz Profile Picture
    458 on at
    Re: Capture trigger input selection from drop-down list of options

    @rlengacher great! glad you found it!

    Use the search dynamic content next time, it will show where it is without you having to scroll and look for it.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard