Filter
The Filter
element contains an Expression
that evaluates to true
or false
and determines when an event should be processed or skipped.
<ic:Filter>
</ic:Filter>
The following example defines a filter that evaluates to true
when the user key for the workflow associated with the event equals "DocumentUrl":
<ic:Filter>
<ic:Expression>
<wf:Operation Name="GetUserKey" />
<ic:Operation Name="Constant">
<ic:Argument>DocumentUrl</ic:Argument>
</ic:Operation>
<ic:Operation Name="Equals" />
</ic:Expression>
</ic:Filter>