Hi Haseen,
Welcome to Sailpoint Developer Community.
If this is in beanshell you have to escape < characters or even better don’t use strict typing like in java as it’s not needed in beanshell. You can also serround your rule with <![CDATA[ RULE CONTENT ]]> to escape all not acceptable characters.
That’s my first thought - indeed it would be easier to debug the rule with complete rule here.
The error you’re encountering, bsh.ParseException: Parse error at line 109, column 27, suggests there’s a syntactical issue in your BeanShell script.
Incorrect Quote Characters
The code uses typographic quotes (“ and ”) instead of the standard ASCII quotes ("). Java and BeanShell scripts require standard quotes for string literals.
Exception Handling
Ensure that all exceptions are properly caught and that class casts are safely performed with checks or surrounded by try-catch blocks.