Problem with workflow triggering plugin. (CRM 4.0)
-
Wednesday, October 29, 2008 8:28 AM
I have created a plugin that is triggered on the Update event of an Invoice. It’s set to run pre stage and Synchronous mode. The plugin works fine running it on a single Invoice. However if I create a workflow that updates an Invoice and make this workflow run a long list of Invoices then about 1/3 of them gets the workflow status Waiting and a message saying that it was unable to load plugin. Again this only happens to about 1/3. The Invoices are all more or less the same.
Any suggestions about this waiting error?
Will the workflow try again by itself after some time or will it just keep having the same status until I manually intervene?
/c
All Replies
-
Thursday, October 30, 2008 2:42 PMI'm having a similar problem,is it possible in the plugin to check if a worklflow startet it, and then act accordingly...plz help
-
Thursday, October 30, 2008 10:30 PMModerator
Superfuss
The IPluginExecutionContext.CallerOrigin should tell you this - if it were started from a workflow, then the value should be CallerOrigin.AsyncService
- Marked As Answer by DavidJennawayMVP, Moderator Friday, May 08, 2009 4:41 PM

