Hi ,
We have a requirement where we want to set okta account value (“ADOktaValue”) when user cloud life cycle status is ‘disable/enable’ and AD account is disable/enable. And for ‘delete /terminate’ lifecycle state we want to disable okta accounts and set okta account attribute value (“ADOktaValue”).
I have written before provisioning rule which is failing with below error.
[“sailpoint.tools.GeneralException: BeanShell script error: Sourced file: inline evaluation of: import sailpoint.object.Application; import sailpoint.object.Identity; import s . . . \u0027\u0027 unknown error: null : at Line: 47 : in file: inline evaluation of:
import sailpoint.object.Application; import sailpoint.object.Identity; import s . . . \u0027\u0027 : if ( plan !\u003d null \u0026\u0026 plan .getAccountRequests ( ) !\u003d null ) { \n BSF info: Custom Active Directory BeforeProvisioning Rule at line: 0 column: columnNo”]
Do let me know if there is any correction in the rule written which is attached here
TestBeforeProvRule.txt (13.2 KB)