Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Usage Cases
This condition allows the transition if
Pattern Condition
Overview
Transition is allowed, if the value of the field matches with the specified 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 :
Code Block | ||
---|---|---|
| ||
<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> |
Excerpt | ||
---|---|---|
| ||
Condition based on a Pattern of Regular Expression
|
Panel | |
---|---|
On this page:
|
Content by Label | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Info | ||
---|---|---|
| ||
See also ... |