Hi,
Preqs:
WFA 2.1
2xDFM@5.2 7-mode
I am trying to build an advanced conditional on whether to execute a command in a workflow. I am polling two DFMs with PM installed, one in the US and one in EMEA and trying to keep as many "joint" workflows as I can. In the process of that I am trying to determine whether to skip a command based off of filer names, but cannot figure out the proper MVEL syntax.
Execute this workflow if the following expression is TRUE
$src_array contains 'netappusfl[12345][ab]' || '[Nn]etappuso[kh][12345][ab]'
This expression is more convoluted as certain US based frames have uppercase "N" and others do not
So I want to execute this command if the filer names are netappusfl1a, netappusfl2b, Netappusok1a, netappusoh2b, etc
and a second row that will excute if
$src_array contains 'netappemeauk[12345][ab]' || 'netappemeabud[12345][ab]'
Neither expression can be evaluated to a Boolean per the WFA preview. Finding good MVEL examples has worn me down, tons of information on &&, but very little on ||. Is this a syntax error on my part?
I have tried using
$src_array strsim 'netappusfl[12345][ab]' || '[Nn]etappuso[kh][12345][ab]'
and also tried
$src_array strsim 'netappusfl[12345][ab]' || $src_array strsim '[Nn]etappuso[kh][12345][ab],
both of which return syntax evaluation errors.
Thanks for any direction in advance,
Scott