Skip to main content

Dear Sharana,

Thank you for your question.

MATCH_PROCESS_REGEX matches the variants of a process based on a regular expression. The regular expression defines a pattern over the activities of the variant. It returns an INT value which is 1 if the variant matches the pattern or 0 if it does not match.

 

Syntax '*'

Meaning Any activity matches

Example 'A' >> ('*')+ >> 'B'

 

Syntax ANY

Meaning Any activity matches

Example 'A' >> (ANY)+ >> 'B'

 

Syntax .

Meaning Any activity matches

Example 'A' >> . >> 'C'

 

Hope this helps,

Mentor


I understand the meaning but I didn’t get the difference using those operator

In case if all the operators are same then we can use any one operator but why are there three operator present in help resources


Hi @sharana.basava.patil 

 

All 3 operators are doing the same and just exist for convenience as described in the docs:

Matching any activity

 

Furthermore, it is possible to match any activity, regardless of its name. For convenience, there are three different ways to do this:

 

by a an activity name that only contains the star symbol ('*'),

by the keyword ANY,

or by the dot symbol (.) which is well-known from the widely-used Perl regular expression syntax.

 

Hope this helps,

Mentor


Reply