Getting Error in Leaver Termination Disable Rule

Hi,

Getting below mentioned error

Exception running rule: BeanShell script error: bsh.EvalError: Sourced file: inline evaluation of: import java.util.*; import sailpoint.object.Identity; import org.apache.com . . . '' : Typed variable declaration : Attempt to resolve method: getName() on undefined variable or class name: newIdentity : at Line: 7 : in file: inline evaluation of: import java.util.*; import sailpoint.object.Identity; import org.apache.com . . . ‘’ : newIdentity .getName ( )
BSF info: User Termination Disable Lifecycle Event Trigger Rule at line: 0 column: columnNo

Can someone please help me on this ?

Hi @manikandaprabhu_ccep,

you are using newIdentity variable without declare it. Delcare the variable before the line 7.

I think this is a IdentityTrigger rule. In this rule when newIdentity is null, if it is deleted:
image

in your case, you must to check if newIdentity != null before every operation on it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.