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 : PqIgTw88V6mc0N63dcpdfI
Power Apps - Microsoft Dataverse
Answered

Triggering Power Automate to PowerApps Portal

Like (0) ShareShare
ReportReport
Posted on 3 Jul 2020 10:02:29 by

Hi all,

 

I am trying to connect Power Apps Portal to trigger Power Automate flow. I have this data from CDS with the following fields:

 

cds2.PNG

cds1.PNG

Unfortunately, I am not getting the desire output which should contains all its respected field. For Example:(Patient Name: Shane, Age: 25 etc). 

 

Can someone please help me on this?How should i solve this problem?

 

Regards,

Ahmad.

I have the same question (0)
  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on 08 Jul 2020 at 13:45:04
    Re: Triggering Power Automate to PowerApps Portal

    sure, to get the label you need to do an expression like items('_<name of apply action>')['<name of the field>_label']

     

    see https://crmaddicted.blogspot.com/2020/01/working-with-optionset-lables-in-power.html

     

    If my answers helped you solve your problem, please mark as a solution.

  • Community Power Platform Member Profile Picture
    on 08 Jul 2020 at 12:32:49
    Re: Triggering Power Automate to PowerApps Portal

    Ahmad-KAISPE_0-1594210995652.png

    Yes, solved.

     

    I also have option set contains Male/Female which results in some integer numbers:

     

    Ahmad-KAISPE_1-1594211370688.png

     

    Can you please guide me on this?

     

    Regards,

    Ahmad.

  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on 08 Jul 2020 at 12:15:33
    Re: Triggering Power Automate to PowerApps Portal

    Your cropped photos don't give enough information and you haven't posted a screenshot of the edit mode of that step. 

     

    The newest screenshot shows you are passing a GUID, but it doesn't exist in the entity that you are looking it up in. Chances are you are sending the ID to the wrong entity. Check in CDS or a model driven app--can you open a record with that GUID in the entity to which you are doing the get record? open one of the records in that entity and change the ID= to the ID you are trying to pass it--if it is a real record in that entity you should be able to open it--if it isn't, you are likely choosing the wrong entity in your flow get records step. 

     

    what is the field you are passing to kaispe schedulers? Look at the definition of that lookup field--what is the target of the lookup field? That is the entity for which you should be doing your get record step.

  • Community Power Platform Member Profile Picture
    on 08 Jul 2020 at 11:55:54
    Re: Triggering Power Automate to PowerApps Portal

    Thank you again for your response 

     

     

     

     

  • Joel CustomerEffective Profile Picture
    3,224 on 08 Jul 2020 at 11:44:18
    Re: Triggering Power Automate to PowerApps Portal

    based on that error, either the item doesn't have a value or you put the wrong field reference in the get record step.

     

    Get record is like a lookup--you choose the entity (where to find the value) and the record id, and it gets the entire record.

     

    So in your original screenshot, you have fd5a7dcf-5bbc........ for the Doctor Name. That is the global unique identifier (GUID) for the Doctor . Assuming doctor is contacts you would do

     

    Get record for contact  and specify the Doctor name field for the identifier. This will then get the doctor record based on that ID.

     

    Your latest screenshot doesn't show the definition of what you are passing to the get record step. The error makes me think the value of the field you are passing is KSP-1, which is not a GUID, so you likely have selected the wrong field reference for the identifier for the get records step.

     

    also, be sure to rename your steps, especially get record steps. It gets really confusing if you don't.

  • Community Power Platform Member Profile Picture
    on 08 Jul 2020 at 05:21:47
    Re: Triggering Power Automate to PowerApps Portal

    Thank you   for your effort, i really appreciate it.

     

    As i am following your steps to input the my record id as an unique identifier to get record like this, i am facing the following error:

     

    cds_issue3.PNG

     

     

     

    I am also confused about item identifier in get record action and then followed this thread: https://powerusers.microsoft.com/t5/Building-Flows/Dynamics-365-get-lookup-field-text-in-Power-Automate-Create-step/td-p/487193 . I am trying to give my unique id of the record which throws an error.

     

    Is there any way better way to solve this issue?

     

    Thanks in advance.

     

    Regards,

    Ahmad.

  • Joel CustomerEffective Profile Picture
    3,224 on 03 Jul 2020 at 14:44:56
    Re: Triggering Power Automate to PowerApps Portal

    @Anonymous  I made a video showing how this works https://youtu.be/jrGpuG3Ambg

  • Joel CustomerEffective Profile Picture
    3,224 on 03 Jul 2020 at 14:15:36
    Re: Triggering Power Automate to PowerApps Portal

    @Anonymous --that is the GUID for these related records. Do a get record step for each one and refer to the name from each step.

  • Community Power Platform Member Profile Picture
    on 03 Jul 2020 at 10:46:59
    Re: Triggering Power Automate to PowerApps Portal

    Thank you 

     

     

    cds4.PNG

     

     

     

     

  • Joel CustomerEffective Profile Picture
    3,224 on 03 Jul 2020 at 10:08:50
    Re: Triggering Power Automate to PowerApps Portal

    Yes—add a get records step after the when a record is created. On create or update steps don’t return all of the fields, especially lookup fields and fields that are null. So after the trigger do a get record step based on the Id of the record in the 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 688 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 499 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 410 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Loading complete