Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Automating data rules on create from API

Posted on by Microsoft Employee

Hello,

I have data being posted into the system through API. And when it comes in with a certain field I want data automation to kick in and add data to certain fields automatically without any user interaction.

I have business rules in place for the entity, but it seams that it's only firing when someone interacts with the record. (I.E., When the record is open, then the data shows up, but if not it doesn't.)

The business rule is setup if value = x, then update record with = y

I'm in the process of recreating the rules as process flows that run in the background, with the same criteria. If entity value = x, then update record with = y.

Please advise,

Am I missing a step or is it a different feature in the system.

Scenario - Data is posted in through API, and needing to update records based off matched values in fields.

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automating data rules on create from API

    Anyone looking for help with dynamics crm execution events / pipelines.

    Here's a link for future troubleshooters

    msdn.microsoft.com/.../gg327941.aspx

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automating data rules on create from API

    Since workflows run at stage 30 i'm creating the rules as a business process workflow. Which is what i'm looking for, my hunch tells me this will work. I will further test.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automating data rules on create from API

    I actually think the business processes will work, i'm testing that now on top of the business rules.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Automating data rules on create from API

    Are you aware of doing this in a way that's simpler. (No coding?)

    Or possibly able to provide a script template?

    Please and thank you!

  • Verified answer
    Wayne Walton Profile Picture
    Wayne Walton 13,726 on at
    RE: Automating data rules on create from API

    You might want to look at building and using a custom action for your data posting instead: msdn.microsoft.com/.../dn481600.aspx

    Your custom action could then be called to populate the data in the places you need it with the conditions you need, and it would still be part of the CRM API.

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans