Pattern Condition


Transition is allowed, if the value of the field matches with the specified Regular Expression Pattern.


Edit and View Parameters

When additing or editing the condition,

PatternCondition Edit

Ok it is defined ...

PatternCondition View

XML Declaration

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

<condition type="class">
   <arg name="">com.minyaa.workflow.condition.PatternCondition</arg>
   <arg name="regExpPattern">(Value1)?|(Value2)?</arg>
   <arg name="customFieldId">10060</arg>

Here the condition is valid, if the Required Project Id matches with current project ...