This project has moved. For the latest updates, please go here.

Rollup Function Issue

Oct 8, 2016 at 5:25 PM
I am using the rollup function with the follow string:

<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0"><entity name="opportunity"><attribute name="name"/><attribute name="opportunityid"/><order descending="false" attribute="name"/></entity></fetch>

I keep getting the following exception any ideas as to what is not formatted properly?

Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.RollupFunctions: System.FormatException: Input string was not in a correct format.
Nov 13, 2016 at 9:35 PM
Hi jjones216,
I'm going to test it in order to solve it.

Nov 18, 2016 at 9:30 PM
Hi jjones, the error is because you need to add as a first field in the fetchXML must to be a number or money Attribute (it's documented here:
if you change the "name" attribute for the "estimatedvalue" it works fine.