Usage Cases
This condition allows the transition if the value of the field matches with the specified Regular Expression Pattern (Java 1.5, Java 8)
Add the Condition
Select the RegExp Pattern Condition ...
Edit and View Parameters
When adding or editing the condition, you will have the following parameters to filled.
Name | Key | Domain Value |
---|---|---|
Field to evaluate | fieldId | Field Id (native Field ID or CustomField If with customfield_123465 format) |
Regular Expression | regExpPattern | Regulate Expression Pattern |
Invert Evaluation Result | negate | True if the Result of the Pattern evaluation has to be inverted. False is the default . |
Passe Condition if Result is NULL | passedIfNull | Assumes the Condition as valid, if the Result is NULL |
Ok it is defined ...
XML Declaration
The Condition configuration may be done in XML in Workflow descriptor as follow :
<condition type="class"> <arg name="regExpPattern">(Test)?|(Demo)?</arg> <arg name="passedIfNull">false</arg> <arg name="negate">false</arg> <arg name="customFieldId"></arg> <arg name="class.name">fr.alkaes.myaawf.workflow.condition.PatternCondition</arg> <arg name="fieldId">summary</arg> </condition>