Benutzer mit den meisten Antworten
How to check to see if workflow already ran once so it doesnt run again?

Frage
-
In CRM 4, I have a workflow that is ran as an attribute is changed. I only want this workflow to run one time, however the field may be updated several times. I only want one workflow though. How do I setup my workflow to include a statement that says, if this workflow name has already been ran, then stop the workflow? This workflow updates a description field and I dont want the description to list the same text over and over again when another field is updated? Thanks!
Antworten
-
Hi,
a simple way would be to add another attribute to the entity called "description updated". By the default this attribute should be false.
You modify your workflow rule: Only proceed if "description updated" = false.
And add another step to your worflow: Set "description updated" to true, when the workflow runs the first time.
Hope this helps....
Nils- Als Antwort markiert JuergenBeckModerator Montag, 17. Mai 2010 17:18
-
Hi,
you can post your english crm questions here: http://social.msdn.microsoft.com/Forums/en-US/crm/threads
Best regards,
Jürgen
Jürgen Beck
Dipl. Kfm./Wirtschaftsinformatik
MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
Microsoft Certified Business Management Solutions Professional
Microsoft Certified CRM Developer
Microsoft Certified Trainer
ComBeck IT Services & Business Solutions
Microsoft Gold Certified Partner
Microsoft Small Business Specialist
Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors
http://www.combeck.de
- Als Antwort markiert JuergenBeckModerator Montag, 17. Mai 2010 17:18
Alle Antworten
-
Hi,
a simple way would be to add another attribute to the entity called "description updated". By the default this attribute should be false.
You modify your workflow rule: Only proceed if "description updated" = false.
And add another step to your worflow: Set "description updated" to true, when the workflow runs the first time.
Hope this helps....
Nils- Als Antwort markiert JuergenBeckModerator Montag, 17. Mai 2010 17:18
-
Hi,
you can post your english crm questions here: http://social.msdn.microsoft.com/Forums/en-US/crm/threads
Best regards,
Jürgen
Jürgen Beck
Dipl. Kfm./Wirtschaftsinformatik
MVP, MCSD.NET, MCITP DBA, MCDBA, MCSE
Microsoft Certified Business Management Solutions Professional
Microsoft Certified CRM Developer
Microsoft Certified Trainer
ComBeck IT Services & Business Solutions
Microsoft Gold Certified Partner
Microsoft Small Business Specialist
Developing & Supporting Business Applications from small business to big enterprises covering scores of sectors
http://www.combeck.de
- Als Antwort markiert JuergenBeckModerator Montag, 17. Mai 2010 17:18