Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

CRM Sales Order + CDS + Logic Apps

Posted on by Microsoft Employee

I'm working on an integration involving Dynamics 365 sales orders and an on-prem ERP via Azure (CDS, Logic Apps, Web API, etc.).

Upon sales order creation/update, CDS calls my Logic App. However, I can only access the record one attribute at a time. How do I send the entire record in my Logic App from CDS to my Web API?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM Sales Order + CDS + Logic Apps

    Thanks. It turns out all the record's fields/attributes are available as a JSON record in the Body parameter.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: CRM Sales Order + CDS + Logic Apps

    HI,

    I don't undertsand your requirement. You will get all fields and can be used from Dynamic content window. There is no way to access all fields, you will need to access one at a time.

    Please mark my answer verified if i were helpful

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: CRM Sales Order + CDS + Logic Apps

    Thanks, that helps me in another part of the trigger, but how do I programmatically/iteratively access all the fields/attributes of the created/updated record without individually referencing each field/attribute?

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: CRM Sales Order + CDS + Logic Apps

    Hi,

    Logic app has trigger - When record is created/update

    This will only work for one record at a time. for multiple records in dynamics multiple instance of same logic app will be executed.

    You can update your logic app to schedule logic app . Meaning run your logic every day - then use List Record action to fetch all records from Dynamics based on your filter criteria. Use for each action to process those records.

    www.thrives.be/.../

    Please mark my answer verified if i were helpful

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans