Trusted Contributor.
Trusted Contributor.
453 views

Comparing against an Active List

Hi all,

I've been searching the forum before posting the question. I´ve got a field (string) which contains  two or more words and I´ve got a list with about 1400 entries (one string for entry). I need to know if there is any list entry is contained in the field.

The  "inActiveList" condition is not valid because a match is required. The GetActiveListValue variable is not valid for the same reason.

I know that I can´t make a condition like: field CONTAINS (activeList_entry). //Scroll through the list to see if any entry is valid

I´ve seen a possible solution, but it needs the use of variables and regex to create a Velocity, but with 1400 posibilities I think that it is not workable.

Any suggestion?

Kind Regards,

Be Water My Friend
Labels (1)
0 Likes
Reply
2 Replies
Highlighted
Super Contributor.
Super Contributor.

Re: Comparing against an Active List

You should try with velocity templates as suggested here:

Blanca Rodriguez
SIEM Engineer
0 Likes
Reply
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Comparing against an Active List

Hi Blanca,

Thanks for your suggestion. I´m going to read it.

Kind Regards,

Be Water My Friend
0 Likes
Reply
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.