Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Unanswered

Relate() with a power automate flow

(0) ShareShare
ReportReport
Posted on by 59

Hey, 

Am doing a relate() bulk in my apps thats take up to 2 to 4 minutes, its over 250 or more items, i would like to know if there a possibility to go through a flow with power automate, i found on but it ask for the ODATA ID URL,  have no idea what that is.

 

Thanks

  • AhmedSalih Profile Picture
    AhmedSalih 6,678 on at
    Re: Relate() with a power automate flow

    @LoopinG2023, Try to use the GUID function with your Lookups GUID(LookUp(dataSource,Condition,UniqeIdentifierColumnName))

     

     

  • LoopinG2023 Profile Picture
    LoopinG2023 59 on at
    Re: Relate() with a power automate flow

    It works without ForAll() for some raison, but do get a return data error that should be in JSON Object

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: Relate() with a power automate flow

    @AhmedSalih 

    would you please help here?

     

  • LoopinG2023 Profile Picture
    LoopinG2023 59 on at
    Re: Relate() with a power automate flow

    Getting the some error and if i do Format it with Text() it say that it should be in JSON object.

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: Relate() with a power automate flow

    @LoopinG2023 

    The way you are passing it from powerapps is like you are passing a record, so you need to pass as a string something like below:

    Lookup(xxxx).recordid

  • LoopinG2023 Profile Picture
    LoopinG2023 59 on at
    Re: Relate() with a power automate flow

    I get this error when using the flow rather before it starts

    LoopinG2023_0-1678788870827.png

    am doing i lookup to get the contact GUID.

     

    The flow:

    LoopinG2023_1-1678788961414.png

    The code:

    LoopinG2023_2-1678788983485.png

     

     

     

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: Relate() with a power automate flow

    @LoopinG2023 

    Lets say you want to relate a contact to an account, so you can get the contact using the Get Row By Id and using the ODATA  Id from dynamic content as below:

    Mira_Ghaly_1-1678788211822.png

    Alternatively you can construct it as below:

    https://org21ffb2a4.crm6.dynamics.com/api/data/v9.0/contacts(contactGUID)

     

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics