Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Auto excute Workflow when call method SaveChange() from plugin

$
0
0

Hi all,


When I custom plugin for CRM system.

I have a workflow send email notification for user or team when that record has been changed field Owner as image below:

After that I custom plugin (Post-Operation) change status (field Option Set Value) with some conditions and call CrmServiceContext with method SaveChange() as image 2 below:

When I do something to change field status. After refresh browser, status had been changed. Beside, the workflow "Email Notification Account" auto run.

Result: When I do something to change status, owner of that record will receive a email --> Spam Mail.

Anybody have solution to help me resolve this problem?

Thanks.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>