I'm trying an advanced extended condition, and the following works:
<A>and<B>-A|ASI Switch|PARAMETER:81|=0-B|DCM Main|1849,[Param:DCM Main, 1943,*/[Property:channel]]|Regex=.*[Property:Inbound Main Multicast].*
But the following isn't working, while it's almost the same. I only duplicated condition B and added a (*) to the display key filter in the Param placeholder:
<A>and(<B>or<C>)-A|ASI Switch|PARAMETER:81|=0-B|DCM Main|1849,[Param:DCM Main, 1943,*/[Property:channel]]|Regex=.*[Property:Inbound Main Multicast].*-C|DCM Main|1849,[Param:DCM Main, 1943,*/[Property:channel] (*)]|Regex=.*[Property:Inbound Main Multicast].*
The reason for duplicating the condition is because in some cases it has a () in the display key, and sometimes it doesn't. Unfortunately I can't just add an * wildcard, because that would match other entries.
For example, I want the condition to match the first two, but not the third one:
- Al Jazeera (123)
- Al Jazeera
- Al Jazeera HD
It seems that the condition gets stuck if the display key in the param placeholder doesn't exist.
I would expect the condition to return false instead.
I don't see an alternative approach to reach this goal.
The condition is not evaluating until all values are received. If it's possible that some values are missing, you can use the DefaultReturnValue. This return value will be used in the condition until the value is received from the server, see documentation.
You can return ‘true’ or ‘false’ for the return value so this should work for an ‘or’ operation.
The default value would not be correct, since I’m using an ‘or’ operation