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

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 ...

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> |
Condition based on a Pattern of Regular Expression
|
On this page: |
See also ... |