AnsweredAssumed Answered

getting an error with query list in another site using caml query: Failed to query list data. Object reference not set to an instance of an object.

Question asked by markthughes on Mar 4, 2015
Latest reply on Mar 5, 2015 by markthughes

i am getting an error in the workflow when trying to query a list in another site inside the same site collection using caml query and other site, when i log the xml it all looks good. 

 

here is the error:  Failed to query list data. Object reference not set to an instance of an object.

 

here is the xml for the caml query

 

<Query>

<Lists>

<List ID="{8DEC397E-694D-43FD-8496-EAA048F38ED5}"/>

</Lists>

<Where>

<Eq>

<FieldRef Name="EmployeeId"/>

<Value Type="Text">10535</Value>

</Eq>

</Where>

</Query>

Attachments

Outcomes