Plugin scriptPackages not available in before provisioning rule

Hi,

I was setting up a library plugin to get the possibility to install custom java code “on-the-fly” without any regular deployment.

The plugin installation is successful and the packages are marked as “scriptPackages” in the manifest.xml.

When I run a regular test rule with references to the plugins java code from the debug page the code can be found and processed.

But when I use the same code inside a before provisioning rule inside a web services connector, the provisioning is failing:

2021-09-30T06:54:14,511 ERROR https-openssl-nio-8443-exec-7 sailpoint.provisioning.PlanEvaluator:2011 - BeanShell script error: bsh.EvalError: Sourced file: inline evaluation of: `` import de.dhh.iam.beforeprovisioning.Test; import de.dhh.iam.beforeprovis . . . '' : Typed variable declaration : Class: Test not found in namespace : at Line: 6 : in file: inline evaluation of: `` import de.dhh.iam.beforeprovisioning.Test; import de.dhh.iam.beforeprovis . . . '' : Test

Is this an expected behaviour or a bug in IIQ?

Best,
Martin

It’s a BUG. When I updated the name of the rule the java code from the plugin was accessible within the before provisioning rule.

Do you have multiple servers? From my experience I found that the plugin deployment process is somewhat buggy, sometimes it will not update all SailPoint servers. After updating a plugin, some servers will be running the latest version, while the others would still be running the old one.

Next time you see this happen, try stopping and restarting your plugin.