Notifications
Announcements
No record found.
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
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.
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.?
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..
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.
Thanks alot Ben....for helping me
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2