This project has moved and is read-only. For the latest updates, please go here.
1
Vote

Check User In Team Error

description

Good Day,

When using msdyncrmWorkflowTools (1.0.33.0):Check User In Team on an 8.1.0.359 environment I'm getting the following error on the step.

Plugin Trace:

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.CheckUserInTeam]
[msdyncrmWorkflowTools (1.0.33.0): Check User In Team]
Load CRM Service from context --- OK
TeamId: f20ecf9a-c0fa-e611-8107-000d3a30ab0c
FetchXML: <fetch version="1.0" output-format="xml - platform" mapping="logical" distinct="true"><entity name="team">
                     <attribute name="teamid"/>
                     <filter type="and">
                      <condition attribute="teamid" operator="eq" value="f20ecf9a-c0fa-e611-8107-000d3a30ab0c"/>
                            </filter>
                            <link-entity name="teammembership" from="teamid" to="teamid" visible="false" intersect="true">
                                         <link-entity name="systemuser" from="systemuserid" to="systemuserid" alias="ag">
                                                    <filter type="and">
                                                       <condition attribute="systemuserid" operator="eq"  uitype="systemuser" value= "1ae7c32a-eaad-e611-80e6-000d3a30d13f"/>
                                                             </filter>
                                                           </link-entity>
                                                         </link-entity>
                                                       </entity></fetch>  


[Cobalt.Components.CrmIQ.Plugins: Cobalt.Components.CrmIQ.Plugin.PluginAdapter]
[4d84646c-c537-e511-80d8-00155da11e03: Cobalt.Components.CrmIQ.Plugin.PluginAdapter: RetrieveMultiple of any Entity]

Current Depth: 2
System.InvalidOperationException: Instance validation error: 'xml - platform' is not a valid value for FetchOutputformat.
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read18_FetchOutputformat(String s)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read19_FetchXmlExpression(Boolean isNullable, Boolean checkType)
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read20_fetch()



Error Message:

Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: System.InvalidOperationException: There is an error in XML document (1, 22). ---> System.InvalidOperationException: Instance validation error: 'xml - platform' is not a valid value for FetchOutputformat.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read18_FetchOutputformat(String s)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read19_FetchXmlExpression(Boolean isNullable, Boolean checkType)
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderFetchXmlExpression.Read20_fetch()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at Cobalt.Components.CrmIQ.Plugin.FetchXmlExpression.Deserialize(String xml)
at Cobalt.Components.CrmIQ.Plugin.PluginAdapter.UpdateFetchExpressionWithCrmIQ(ITracingService tracer, FetchExpression expression)
at Cobalt.Components.CrmIQ.Plugin.PluginAdapter.Execute(IServiceProvider serviceProvider)

Thank-you very much for any assistance you can provide. I greatly appreciate these tools.
CRMKonrad

comments

demian_rasko wrote Mar 12 at 1:06 AM

Hi, please give me more details about the parameters you pass to the method.

thanks