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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Business Rule not firing from API input

(0) ShareShare
ReportReport
Posted on by 10

I have a business rule that sets the value of one field (which is hidden, but required for emailing) dependent on the value of another in the Contact entity. This works fine when the contact is added or updated manually, but it does not work when the contact is added via an API from an external website. The scope was set to All Forms, but I set it to Entity and it still does not work.

Have I missed something or will the BR not fire when data is added in this way? Or is there a delay in server side running of a BR?

If it will not fire from data added via an API is there any other way of doing it?

Thanks in advance.

I have the same question (0)
  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Check if User who is executing the API has Org level Read permission on Process Entity.

    0753.CR2.PNG

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You have to set Entity scope.

  • AdrianCherrill Profile Picture
    10 on at

    Hi Bipin, thanks for your response. The user in question has roles of Sys Admin (which has the permission above) and Customer Service App Access (which does not have it, but I cannot edit it, it says I cannot edit inherited roles). The user was set up by the vendor who supplied the system so I do not know if these are really the correct roles or not. I would have expected Sys Admin to trump everything anyway.

    I may have to just go back to them and ask directly.

    Adrian

  • Suggested answer
    Bipin D365 Profile Picture
    28,983 Moderator on at

    Hi,

    Workaround is to create Real time workflow to set the field value based on field updated from external API.

    docs.microsoft.com/.../create-real-time-workflows

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 74 Super User 2025 Season 2

#2
Daniyal Khaleel Profile Picture

Daniyal Khaleel 32 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 31 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans