Page tree
Skip to end of metadata
Go to start of metadata

Usage Cases

This condition allows the transition if the value of the field matches with the specified Regular Expression Pattern (Java 1.5Java 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

NameKeyDomain Value
Field to evaluatefieldIdField Id (native Field ID or CustomField If with customfield_123465 format)
Regular ExpressionregExpPatternRegulate Expression Pattern
Invert Evaluation ResultnegateTrue if the Result of the Pattern evaluation has to be inverted. False is the default .
Passe Condition if Result is NULLpassedIfNullAssumes 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>

 


On this page:

 

Useful hint

See also ...

  • No labels