Experience your
30 day trial
now!
GET STARTED
Guest blogger and CRM MVP Donna Edwards talks about a tip to help you tune your workflows.
In working through some optimization on a CRM server, I thought it would be a good idea to check the running System Jobs. This particular CRM installation was upgraded from 1.2 to 3.0 to 4.0. Given that, I knew there were a few workflows that needed a face lift so before diving into them, I decided to gather information.
My first step in the process was to create an Advanced find view that returned all System Jobs where the Status Reason = Waiting, Waiting for Resources, Pausing, In Progress. I added the columns Error Code and Message to the result set for additional information.
The results of the query showed that there were several thousand jobs running in various states. Here is some of the information I was able to glean from the System Jobs:
Several of the jobs failed for one of the following reasons:
Armed with the information above, I was able to go through the workflows and re-design with them to behave more intelligently and better handle some of the data anomalies and scenarios that they would encounter.
Those improvements included:
My initial goal was to see if I could identify improvements that would reduce the result set of the query by 50%. Applying the design improvements above, I was able to reduce the result set from several thousand to several hundred and my invested time was about 8 hours of effort.
The above is intended as an example only and the specific steps referenced may not be the optimal approach for every CRM configuration.
Enjoy!
Donna Edwards
Hi,
Thanks for the article. It was a great help on working on workflows. especially to have a check for the email(1st Point).
Regards,
Kamal
You're welcome Kamal, I'm glad it helped. Have a great day.
I have more than 2000 workflows in Waiting for resources State.
How can I solve this? And, What can I do to this trouble no happens again.
tks