Flag Condition

Overview

Transition is allowed, if a Flag is passed in arguments.



FlagCondition

This function has to be used only in combination with Post-Functions able to pass an argument in the Transition Context.

Minyaa provides following post-functions :

Edit and View Parameters

Specify the expected flag that has to be passed in arguments,

FlagCondition Edit



Ok it is defined ...

FlagCondition View



XML Declaration

The Condition configuration may be done in XML in Workflow descriptor as follow :

<condition type="class">
   <arg name="class.name">com.minyaa.workflow.condition.FlagCondition</arg>
   <arg name="flag">AutoAssign</arg>
</condition>

Here the condition is valid, if the flag AutoAssign is present in arguments ...