Constant
Pushes a single constant value onto the stack.
<ic:Operation Name="Constant">
<ic:Argument>val</ic:Argument>
</ic:Operation>
Constant value.
String containing the constant value.
The following sample filter expression uses the Constant operation to push a value that will then be used in an Equals operation to ensure that the current activity name is "FoodAndDrinksPolicy".
<ic:Filter>
<ic:Expression>
<wf:Operation Name="GetActivityName"/>
<ic:Operation Name="Constant">
<ic:Argument>FoodAndDrinksPolicy</ic:Argument>
</ic:Operation>
<ic:Operation Name="Equals"/>
</ic:Expression>
</ic:Filter>
This is a common usage pattern for the Constant operation.