Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to trigger a plugin while a filed is updated manually.

(0) ShareShare
ReportReport
Posted on by 431

Hi All Experts, suppose I updated a filed value through webapi call in ms CRM and after update I want to trigger a plugin . How to do this.

*This post is locked for comments

  • Vijay Tailor Profile Picture
    431 on at
    RE: How to trigger a plugin while a filed is updated manually.

    Thanks alot Ben....for helping me

  • Verified answer
    Ben Thompson Profile Picture
    6,350 on at
    RE: How to trigger a plugin while a filed is updated manually.

    You create the plugin and register 2 steps on it.

    1) for the update - set the message to update, the primary entity to your entity and add the field to the filter attributes and it will run automatically if the field is updated.

    2) for the create - set the message type to create and the primary entity to your entity. You can't set the filter attributes field  but you could look at the entity being created by looking at the target parameter of the input parameters and check which attributes are part of the entity.

  • Vijay Tailor Profile Picture
    431 on at
    RE: How to trigger a plugin while a filed is updated manually.

    And how we handle if a new record is created through Web API . And I want to trigger a plugin automatically for the same created record..

  • Vijay Tailor Profile Picture
    431 on at
    RE: How to trigger a plugin while a filed is updated manually.

    Thanks Ben...please correct me if my understanding is correct.

    So when my field is updated through webapi...I have to register a step based on filtering attributes. So when field is updated, automatically plugin is triggered.?

  • Verified answer
    Ben Thompson Profile Picture
    6,350 on at
    RE: How to trigger a plugin while a filed is updated manually.

    on the plugin Register a new step on the update message and add that field / attribute in the  filtering attributes. The plugin will then be triggered as the webapi call updates that attribute. 

    0728.Screenshot_5F00_17.png

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans