Quantcast
Channel: Ivanti User Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 15294

Is it possible to a LIKE search in a expression

$
0
0

Is it possible to do a like or contains within an expression? For example, I was trying to do something like this.

if ParameterName in ("%ABC%") then " " else " "

 

This expression works, but I have to list the parameters. I was wanting to use a wildcard search instead since they all have similar names.

$(ForEachChild("ServiceReq#", RecId, "ServiceReqParam#.",
'if ParameterName in (\"txtABC_1\", \"txtABC_2\", \"txtABC_3\") then
(ForEachChild("ServiceReqParam#", RecId, "ServiceReqTemplateParam#.", "DisplayName") +
\': \' + ParameterValue + \'\r\n\')
else \'\'
'))

Viewing all articles
Browse latest Browse all 15294

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>