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 :
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)
  • Community Member Profile Picture
    on at
    RE: Assigning a lookup value in flows inside power app

    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.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Assigning a lookup value in flows inside power app

    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.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
DAnny3211 Profile Picture

DAnny3211 224

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 129 Super User 2025 Season 2

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 123

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans