Announcements
I'm using a field= "info" in fetch xml query in a custom workflow and when I'm adding special character"&" in a "info" field in crm form and trying to save I'm getting Business process error "Object reference not set to an instance of an object."
Fetch xml query :
@"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' no-lock='false'>
<entity name='lt_backinfo'>
<attribute name='str' />
<attribute name='name' />
<attribute name='from' />
<attribute name='until' />
<attribute name='category'/>
<attribute name = 'info'/>
<order attribute='name' descending='false' />
<filter type='and'>
<condition attribute='statecode' value='0' operator='eq'/>
<condition attribute='cusid' operator='eq' uitype='account' value='{0}' />
</filter>
<link-entity name='typeSet' from='typeSetID' to='typeid' visible='false' link-type='outer' alias='StrtType'>
<attribute name='pecode' />
<attribute name='sendtoAltas' />
</link-entity>
</entity>
</fetch>";
Unhandled Exception: System.ServiceModel.FaultException
Exception while executing Execute method Customer: Object reference not set to an instance of an object.
Exception while executing Execute method Customer: Object reference not set to an instance of an object.
Sync workflow 'Send info to sys' terminated with error 'Exception while executing Execute method Customer: Object reference not set to an instance of an object.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,807 Super User 2024 Season 2
Martin Dráb 229,135 Most Valuable Professional
nmaenpaa 101,156