Recently I have got a requirement like need to display the
list of items which are all having the workflow status is “In Progress”.
I used caml query to filter the date based on workflow
status: “In Progress” like below:
<Query><Where>
<Neq>
<FieldRef Name="MyWorkflowStatusName" />
<Value Type="WorkflowStatus">In Progress</Value>
</Neq>
</Where>
</Query>