AnsweredAssumed Answered

How to you filter results within a Query List action by assigned to?

Question asked by rcoketrs8 on Jan 31, 2018
Latest reply on Jan 31, 2018 by emha

I am trying to query a workflow task list by status and assigned to using the Query List action. The status part works fine however it just errors out on the assigned to part. Am I missing something obvious?

 

Here is the CAML query if that helps from the "Run now" option

 

<Query>
  <Lists>
    <List ID="{F8CF9D25-2E7B-4702-9E85-834450D992E8}" />
  </Lists>
  <ViewFields>
    <FieldRef Name="AssignedTo" />
    <FieldRef Name="WorkflowLink" />
    <FieldRef Name="Title" />
  </ViewFields>
  <Where>
    <And>
      <Eq>
        <FieldRef Name="Status"  />
        <Value Type="Choice">in progress</Value>
      </Eq>
      <Eq>
        <FieldRef Name="AssignedTo" LookupId="TRUE" />
        <Value Type="User">Steve</Value>
      </Eq>
    </And>
  </Where>
</Query>

Outcomes