Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

When a record is selected returns no data

(0) ShareShare
ReportReport
Posted on by

As the subject suggests, when using the "When a record is selected" trigger nothing is returned. Well the only thing I get is the information on the user triggering it.

Everything else is empty. I am attempting to attach it to the sub-grid that is showing SharePoint documents through the SharePoint document integration.

What I am attempting to do is allows the user select a file and launch a flow that will grab the file and send it to a specific customer. If the way I am going about it is not ideal please feel free to recommend alternatives, I am open to ideas.

  • misterpower Profile Picture
    misterpower 2 on at
    When a record is selected returns no data
    I had the same issue. When triggering a Power Automate in a Model Driven App, no data comes in e.g. the TriggerBody is empty.
     
     
     
    What solved the issue for me is Initializing a variable, then filling that variable with data that the trigger returns. See the screenshot below.
     
     
    After initializing a variable, the trigger does return data and you can use this data in your consequent steps.
     
  • Bahalzamon Profile Picture
    Bahalzamon on at
    RE: When a record is selected returns no data

    Eiken Thank you for the reply, what you have put above is the exact steps I went through. But after some additional research it seems like it may not be possible to be done on a SharePoint Document sub-grid.

    Unless you know of a way to perform this action on the SharePoint Documents?

  • Eiken Profile Picture
    Eiken on at
    RE: When a record is selected returns no data

    Hi,

    I try to use the trigger “When a record is selected” and get the data returned successfully.

    These are my steps for reference.

    1.Create a flow

    pastedimage1673419674470v1.png

    2.Edit the flow

    pastedimage1673419715650v2.png

    3.Run the flow and get the output

     pastedimage1673419750704v3.png

    pastedimage1673419767649v4.png

    I recommend you to check the environment choosed.

    pastedimage1673419919828v5.png

    If you still have problems please show some screenshots about your flow with “When a record selected” trigger.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans