Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..
59 views

Match_pattern function syntax

Hi,

Could you please give me an example of correct settings of one of the SMAX text function "Match_pattern"?

I have tried to apply in with the business rule "Define suggested values based on filter" to create a selection of records based on if one of their text fields consist string in Match-pattern function, but it have worked properly so far.

I have tried following syntaxes:

${match_pattern('VYS','*')} -> the business rule do not work properly

${match_pattern('VYS',*)} -> SMAX do not allow me to save this syntax

Could you please give me an advice, what is the correct usage?

Thank you very much

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

The syntax is wrong , try as below

match_pattern(entity.fieldname, '*VYS*')

Regards,
Praveen
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.