Workflow fires twice
-
24/صفر/1432 06:12 م
Hi
I have a plugin connected to a workflow that is activated when an attribute on a contact record is changed - unfortunately it fires twice every time. If I change the workflow to only work when manually run then it fires once as expected. Anyone also had this issue?
Thanks
جميع الردود
-
24/صفر/1432 10:50 م
-
25/صفر/1432 11:57 ص
Hi,
Please check out your plugin too, it may possilbe that your plugin is getting called more than one and activates the workflow twise.
Thanks, Ankit Shah
Inkey Solutions, India.
Microsoft Certified Business Management Solutions Professionals
http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html -
27/صفر/1432 07:53 صWell to try and debug it I have created a simple workflow that doesn't involve any plug-in that just emails me. When I attach that to the contact object and the same attribute and make sure that there's no code in the form load it still fires twice? Looks very odd...
-
05/ربيع الأول/1432 03:01 مالمالكDo you have the workflow set to fire ON Create and when the attribute changes? if so, it will fire twice.
-
05/ربيع الأول/1432 03:06 مIt's only set to Attributes change. I'm guessing that our underlying audit plug-in is the cause of it but at this stage not sure how to determine if this is the case.
-
05/ربيع الأول/1432 03:06 مIt's only set to Attributes change. I'm guessing that our underlying audit plug-in is the cause of it but at this stage not sure how to determine if this is the case.
-
04/جمادى الأولى/1433 08:30 م
Hi,
Similar to what Donna suggested, when you have two or more attributes set to trigger the WF, if you change two of them, then the WF is triggered twice. I hope this helps. Let me know if this was a helpful tip.
Dynamics CRM Certified Consultant (MB2-631,632,633)
- تم الاقتراح كإجابة بواسطة Alejandro Cesetti 04/جمادى الأولى/1433 08:30 م