Hi Everyone,
I am currently working on a Web Services integration (SailPoint IdentityIQ 8.x) and I’m encountering a specific BeanShell error in my Before Operation Rule for a “Get Object” (Get Object1) endpoint.
The Error: The rule fails with the following exception: Method getContextParameters() not found in class 'sailpoint.connector.webservices.EndPoint'
This happens during a context-based flow where the ProvisioningPlan is null (triggered by an Identity Refresh). My goal is to retrieve the nativeIdentity from the connector context to resolve the internal User ID for the URL placeholder.
The Logic: I am trying to replace a placeholder (updateid) in the URL with a numeric ID retrieved from the Identity Link. Since the plan is null during certain refreshes, I attempted to use requestEndPoint.getContextParameters() to find the native identity, which is causing the script to crash.
Code Snippet (Problematic Area):
Java
if (Util.isNullOrEmpty(nativeId)) {
// This line is throwing: Method getContextParameters() not found
Map ctxParams = requestEndPoint.getContextParameters();
if (ctxParams != null) {
nativeId = (String) ctxParams.get("nativeIdentity");
}
}
The Second Issue: Identity Link Refresh I have also noticed that even when the provisioning status shows as <ProvisioningResult status="committed"/> for my attribute requests (Roles/Products), the Identity Link is not updating immediately after the “Get Object” execution.
-
The “Get Object1” endpoint returns the correct raw response.
-
The After Operation rule processes it into a ResourceObject.
-
However, a subsequent Identity Refresh does not seem to synchronize these newly added entitlements into the Link attributes immediately.
Questions:
-
What is the correct method to retrieve context parameters (like
nativeIdentity) from theEndPointobject in a Web Services Before Operation rule when theProvisioningPlanis null? -
Is there a known reason why the Identity Link wouldn’t update attributes/entitlements even after a successful “Get Object” call during a provisioning sequence?
Any insights or best practices for handling URL replacements in context-based “Get Object” calls would be greatly appreciated!
Note : I have Parent and Child aggregation operations in the integration. Please assist
FYI - Except identity refresh Everything is working fine .