Beanshell Operators - @

Which IIQ version are you inquiring about?

Version 8.3

Share all details related to your problem, including any error messages you may have received.

Afternoon!

I hope this is a simple question, but up until now, for some logical operators (and, less than), I have to use & in place of &, and < in place of <. I was going through one of our custom rules, and I noticed that whomever wrote it used @and…and it works! I was wondering if there are any other operators like that. I also tried @lt in place of <, which on a keyboard like mine, using @lt is easier. So, is there a list somewhere that has all the operators I can use @ with?

Last section of this guide Basic Syntax

3 Likes

You can also surround code with <![CDATA[ YOURCODE ]]> tags. Then beanshell parser will translate all “weird” characters to the ones understandable by IIQ.

2 Likes

It’s not the Beanshell parser that’s doing this, but rather ordinary XML. The CDATA tag just means that the XML parser shouldn’t interpret any characters within the brackets. The text is rendered into a form recognizable by Beanshell long before the BSH executor sees it.

If you use the Eclipse plugin, you can have it insert CDATA tags around any Beanshell snippets that are more than a certain number of lines, on export.

If you are using Visual Studio Code, you can use the Sailpoint IIQ Development Accelerator which also automatically uses the CDATA tag :smiley:

– Remold

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.