cancel
Showing results for 
Search instead for 
Did you mean: 

Creating complex rules (info steward)

04-18-2021 8:39 AM
605 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

Hi everyone.

I created a rule to validate postal codes by country (below an example), working fine but instead of add more than 250 rows one by one is possible to create a table into Info Steward and related this table on rule script syntax?

BEGIN

IF ($PostCode IS NOT NULL)

RETURN

(upper($Country) ='NL' AND (match_pattern($PostCode, '9999 XX' )) OR

upper( $Country) ='CA' AND match_pattern($PostCode, 'X9X 9X9' ));

ELSE

RETURN FALSE;

END

Thank you.

0 Likes

Accepted Solutions (0)

Answers (0)