Skip to main content



No record found.

Microsoft Dynamics CRM forum

Workflow error - Data at the root level is invalid. Line 1, position 24.

Posted on by 50

Hi all

I am trying to create quote approval workflow. I am using this tool - msdyncrmWorkflowTools ( Functions.

The workflow depends on product hierarchy level.

When i start the process the system provides the error - 

"Unexpected exception from plug-in (Execute): msdyncrmWorkflowTools.RollupFunctions: System.Xml.XmlException: Data at the root level is invalid. Line 1, position 24"

There is XML file which i created by Advanced find in CRM - 

<?xml version="1.0"?>

-<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">

-<entity name="quotedetail">

<attribute name="productid"/>

<attribute name="productdescription"/>

<attribute name="priceperunit"/>

<attribute name="quantity"/>

<attribute name="new_kmextendedamount"/>

<attribute name="quotedetailid"/>

<order descending="false" attribute="productid"/>

-<link-entity name="product" alias="aa" link-type="inner" to="productid" from="productid">

-<filter type="and">

<condition attribute="new_hierarchyproductgroup" value="10" operator="eq"/>





Please help me to clarify what is wrong?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans