CRM 2011 Aggregates in Workflows

In Dynamics CRM 2011 I would like to create an aggregate or sum value from values stored in a handful of fields, divide them by a fixed number, and place the result in another field.

What is the best way to accomplish this?
rdracer58Asked:
Who is Participating?
 
Feridun KadirPrincipal ConsultantCommented:
You can perform simple math on numeric fields using dynamic values in the form assistant.

You will need one workflow step per field that you need to add to the resultant field. Select an Update record action in the workflow. In the Update record window click on the field that will receive the result and the use the increment by operator in the form assistant, and then select the first field to add to the result.

Create additional workflow steps for each field that needs to be added to the result and then one final step to multiply the field by 1/(your fixed number) (there isn't a divide action).

Hope this makes sense and helps.
workflow.JPG
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.