giovedì 26 aprile 2012 11:31
I have created a plugin for sending bulk emails.
this i want to connect with workflow which is written in Marketting list entity.
Benarji Sandra-MS Dynamics CRM Developer
Tutte le risposte
giovedì 26 aprile 2012 11:47Do you want to initiate the workflow from Plugin ?
giovedì 26 aprile 2012 12:50
If you want to start your plugin from workflow, then just define a new entity type, and register your plugin to run synchronously for that entity for the "Create" message.
In your workflow, create a record for that entity. Your plugin will start at that point.
Once your plugin is done processing emails, you can delete entity record that fired the plugin (you don't need it anyway - you only need it to start the plugin)
PS. If it's Dynamics on-premises, you might try to use custom workflow activity instead:
Alex Shlega, GotchaHunter.Net