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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Assigning a lookup value in flows inside power app

(0) ShareShare
ReportReport
Posted on by 54

Hello,

    I am trying to create a flow inside power portal, this will flow will create a customer in case an email has been reached. In the customer i am having a lookup called country & status.

Both country & status are lookups, I want to know how can I put them to a default value like, "United States" & "Active". I tried adding "Get Record" action but it's asking for the guid of these records.

Thanks.

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Mazex,

    The lookup field display the name of the record, but they actually store the ID in the field. So you will need to hardcode the Id of work order type.

    For example, a lookup filed (Account) on the Custom entity form, I want to set default value ‘Test account’ on it.

    1.The simplest way is to get GUID from URL and fill it into field in flow.

    pastedimage1598593756971v1.png

    pastedimage1598593771451v3.png

    2.You can also add action ‘List Record’ and set filter query to get ID.

    pastedimage1598593782083v4.png

    3.Test.

    You will see lookup fied (Account) with default value ‘test account’ on the new record of custom entity.

     pastedimage1598593791845v5.png

     

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Community Member Profile Picture
    on at

    Hi Partner,

    Has the problem been solved? Any updates?

    Please click Yes under "Did this answer your question?" to close this thread.

    pastedimage1598837242663v1.png

    Thanks. 

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 51

#2
Martin Dráb Profile Picture

Martin Dráb 39 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 26 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans