Create Active Directory Group - Entitlement Update Worklofw

Which IIQ version are you inquiring about?

Version 8.3

Please share any images or screenshots, if relevant.

Share all details related to your problem, including any error messages you may have received.

Good afternoon!
I’m working on getting things set up so that our IAM team can leverage SailPoint IIQ to create AD groups - presently, they create them manually and then they’re aggregated. This has been working okay, but we’re wanting to bring this into SailPoint.
I think I’m on the right track, but I’m having a bit of an issue with the beanshell portion. I usually create a rule as a proof of concept, then bring that code into a custom workflow as a script, just fyi. I’ve attached a screenshot of the rule, but whenever I run the rule, I get this error:
No static field or inner class: ObjectOperation of class sailpoint.object.ProvisioningPlan$ObjectRequest
I’m guessing it has something to do with the setOperation part of the code, but I’ve been looking at the Javadoc and can’t figure out what I’m missing.
Is it something simple that I’m just overlooking or am I way off base?

Note to self: need to actually set ‘fullGroupName’ to something

Try doing this
ProvisioningPlan.Operation.Set instead of ProvisioningPlan.ObjectOperation.Set within the attribute Requests

I changed those back (had them that way originally), but the error is still coming from:
objectReq.setOperation(ObjectRequest.Operation.Create);

That’s very similar to when I use AccountRequest:
acctReq.setOperation(AccountRequest.Operation.Modify) for example.

Instead of
objectReq.setOperation(ObjectRequest.ObjectOperation.Create)
try
objectReq.setOp(ObjectOperation.Create)

and this part also
ProvisioningPlan.Operation.Set
instead of
ProvisioningPlan.ObjectOperation.Set

Ah, perfect! It was setOp.

I also changed plan.setAccountRequests to plan.setObjectRequests (didn’t notice that before), along with making sure I use ProvisioningPlan.Operation.Set.

I’m now getting plan details in the return.

Thanks so much!

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