Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Cannot update Option Set with Workflow

Posted on by

Hello

I have a workflow that needs to update an option set value based on the option set value coming from another record.

Both option sets use same global option set.

I get following error message.

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Xml.XmlException: Name cannot begin with the '>' character, hexadecimal value 0x3E. Line 1, position 1290.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Crm.SharedUtil.CreateXmlDocument(XmlReader reader)
at Microsoft.Crm.SharedUtil.CreateXmlDocument(String xml)
at Microsoft.Crm.Application.WebServices.WorkflowWebService.UpdateCreateEntityStep(String activityId, String entityId, String createXml, String descriptionXml, String parentStepId, String rendererTypeCode): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E6B25647Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>e6a18a7c-6299-4ff5-8577-7295f5472d8b</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Xml.XmlException: Name cannot begin with the '&gt;' character, hexadecimal value 0x3E. Line 1, position 1290.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32&amp; colonPos)
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Crm.SharedUtil.CreateXmlDocument(XmlReader reader)
at Microsoft.Crm.SharedUtil.CreateXmlDocument(String xml)
at Microsoft.Crm.Application.WebServices.WorkflowWebService.UpdateCreateEntityStep(String activityId, String entityId, String createXml, String descriptionXml, String parentStepId, String rendererTypeCode): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #E6B25647</Message>
<Timestamp>2018-01-19T14:43:54.1196283Z</Timestamp>
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>

*This post is locked for comments

  • Verified answer
    Karsten Wirl Profile Picture
    Karsten Wirl 4,477 on at
    RE: Cannot update Option Set with Workflow

    The good old browser compatibility.

    Please can you verify my answer? Thanks for your reply.

    Kind regards,

    Karsten

  • tcapeqi Profile Picture
    tcapeqi on at
    RE: Cannot update Option Set with Workflow

    Hello

    Works indeed only with IE.

    Thanks

  • Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Cannot update Option Set with Workflow

    Hi,

    The error that is showing is the following. Not sure if this has to do with option set or not:

    Name cannot begin with the '>' character

    Please check you WF, and verify that you don't have any fields that start with >.

    Hope this helps.

  • Suggested answer
    Karsten Wirl Profile Picture
    Karsten Wirl 4,477 on at
    RE: Cannot update Option Set with Workflow

    Hi there.

    Which browser do you use? Firefox?

    Please try Internet Explorer.

    I vaguely remember a similar case with the new CRM versions.

    Kind regards,

    Karsten

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans