I have an entity with 4 plugins registered on the update message.
Two of the plugins are registered on the pre-operation pipeline stage and two of the plugins are registered asynchronously on the post-operation pipeline stage. All four plugins have different filtering attributes.
Each of the plugins serializes its context to an xml file as soon as the Execute method is entered. This is functionality baked into a base class we have and I have no reason to believe this would fail.
When testing the same record for an update I get inconsistent results.
Sometimes only the pre-operation pipeline plugins fire and sometimes all four plugins fire.
What is odd, is that I can tell by the value of the record I'm testing on, that all four plugins have fired. However in many cases the serialized context file isn't generated
I've experimented with changing both of the async plugins to synchronous and that seems to temporarily fix the issue. I've also experimented with disabling the pre-op plugins and only letting the async fire.
Has anyone dealt with a similar issue?