DSP IFVAR Logical Operators


I’m trying to figure how can I use logical operators with the ifvar dsp instruction.

I mean, AND, OR, etc

If I try it like %ifvar var AND var2% it doesn’t work

I wouldn’t like to cascade several ifvar inside one another

Thank you

There are no AND or OR tags in DSP. You’ll need to use nested ifvar or switch tags.

A general approach you might follow is to put most logic into UI-specific services and use the DSP for display only.

I had the same issue. Here is my solution.

Create a service and apply your logic there with identifiers
Invoke the service and apply %swtich% in your dsp.