Entity : account
Message : update
Synchronous post operation : 40
In the same plugin
service. Update(target).
Is it a issue?
*This post is locked for comments
Entity : account
Message : update
Synchronous post operation : 40
In the same plugin
service. Update(target).
Is it a issue?
*This post is locked for comments
Hi TCL Tools team,
thanks for the detailed Explanation !!!
Not necessarily an issue, but you will likely need to check the Depth at the beginning of the plugin (context.Depth) and, if it's more than 1, the plugin should not do anything
Or you can configure the attributes which are triggering the plugin, and, if for that second update such attributes are not, really, updated, you can do this:
var updated = new Entity(target.logicalName);
updated.Id = target.Id;
updated[<ATTRIB_NAME>] = ...
service.Update(updated);
If that "ATTRIB_NAME" is not triggering the plugin, you'll be ok.
Of course will be issue, you will go into infinite loop.
What you trying to achieve?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156