AnsweredAssumed Answered

Query list invalid xml

Question asked by miguel.paulo on Mar 7, 2016
Latest reply on Mar 16, 2016 by miguel.paulo

Hello,

 

I'm having a strange message when i configure a query list action. I've got a query list action with dynamic column values specified in the xml.

I'm using a CAML query and doing the query in an alternative site.

 

The xml is just referecing a list in another site.and the code is the following:

 

<Lists>

     <List ID="{2746A59F-5A1E-429A-9F3D-956DEA65DFB7}" />

</Lists>

<Viewfields>

     <FieldRef Name="ID"/>

</Viewfields>

<Where>

     <And>

          <Or>

               <Eq>

               <FieldRef name="{WorkflowVariable:MilestoneColumnText}"/>

               <Value type="Text">New</Value>

               </Eq>

          <Or>

               <Eq>

               <FieldRef name="{WorkflowVariable:MilestoneColumnText}"/>

               <Value type="Text">Update</Value>

               </Eq>

               <Eq>

               <FieldRef name="{WorkflowVariable:MilestoneColumnText}"/>

               <Value type="Text">Update(Change Request)</Value>

               </Eq>

          </Or>

</Or>

     <Eq>

          <FieldRef Name={WorkflowVariable:PPMChecklistColumnName}/>

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

     </Eq>

     </And>

</where>

 

If i go to the "Run now" and fill in the variables the WF runs fine.

After saving the action and open again i'm getting a popup saying "XML Invalid" and the configuration of the query get changd from "Alternative site" to "Current Site". I also loose the value that i want to retrieve from the query and the cannot add any other values.

 

Could you please assist? Thank you.

Outcomes