I am trying to run the before prov rule in ISC using mocked up plan. But when I run the xml file, it gives error Code language not supported or defined error coming
may be you need to is that syntactically correct.
Hey @utkarsh-bajpai-cyd. Welcome to the SailPoint community. Can you give some more info on where your issue lies? You should “run” the xml file – I assume you mean the rule you created. To test your rules with the RDK you need to clone the project that sailpoint has on this page. The file that you need to run is actually a java file such as the "RuleNameTest.java that they have in the project. The java file uses Mockito plus a beanshell interpreter to read the code from the beanshell (XML) file and run the tests against it.
To your issue if you are following the guide above above maybe you do not have Java installed on your machine. In vscode you can install the Java extension from Microsft in the extension store. I believe it will set up a Java environment for you or it may ask you to download the JDK separately.
If you try to “run” the XML file it will give you this error because there is no library to install to “run” XML files with embedded beanshell.
Thanks Kyle, I have cloned the project. Also I am running the xml file. The java file is also created, but when I run the java file in VS studio, I don’t get this error. It only comes when I run the XML file. It says I need to install a plugin for this