No More ScriptEvaluation Error
Recently, I found Sail4J library GitHub – renliangfeng/sail4j-iiq-idn 4 which provides a way to build Java Class in your IDE (I use VSCode) to beanshell code and generates rule XML. It is another way to generate your large rule libraries with Unit testing and No compilation errors.
I used the Sail4J libraries to create a Java Code that generates the rule XMLs from the Java Class(es) you create using the Sail4J annotations and use the Apache velocity to create Rule XML Complete.
Complete Unit Testing
With the above solution, you can build the entire Sailpoint Rule Library in your IDE and unit test all the features, before exporting it as a Rule and deploying it your Sailpoint IIQ.
No Syntax Errors
As a Sailpoint Developer, you might have experienced ScriptInterpretorError, as Sailpoint do not offer script compilation in the rule builder. This solution will save you from running the code and getting the exception as you will be able to compile the rule before deploying to the Sailpoint environment.
Click on the below GitHub Link to access the sample code
