Pattern Condition

Overview

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

RegExpPatternCondition

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="class.name">com.minyaa.workflow.condition.PatternCondition</arg>
   <arg name="regExpPattern">(Value1)?|(Value2)?</arg>
   <arg name="customFieldId">10060</arg>
</condition>

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