Versions Compared

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

Code Block
languagexml
<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
hiddentrue

Condition based on a Pattern of Regular Expression

 

Panel

On this page:

Table of Contents

 

Content by Label
showLabelsfalse
spacesMINYAA
showSpacefalse
sorttitle
typepage
cqllabel = "documentation-space-sample" and type = "page" and space = "MINYAA"
labelsdocumentation-space-sample

Info
titleUseful hint

See also ...