Runing into an issue where an account attribute (versionId) is not being passed into the Web Services Before Operation Rule during an “Add Entitlement” operation:
Only the “roleType” attrib is being passed in. No other account attributes are sent: ProvisioningPlan.AttributeRequest attReq : Util.iterate(accReq.getAttributeRequests()
I would have thought that the entire account would be passed in and not just the entitlement/roleType being requested in the access profile.
Looking at the code from the link. In my case it’s the src attrib “versionId” thats not getting passed into the add entitlement op. So is this what it would look like?:
Where would the value for “name” in the transform come from? Would “versionId” need to be added to the identity profile? (based on this doc, only identityAttribute transform type can be used in provisioning policies, accountAttribute type won’t work Transforms in Provisioning Policies | SailPoint Developer Community)
Yes in Add Entitlement you will get only account attribute which you made as “account Id” and the requested entitlement. In order to get additional account attributes you can do this.
Add a Before Provisioning Rule and write a logic to check if the account operation is Modify and add the required other account attribute values to the account request.
In the Before Operation Rule make a get call using the native identity and pass the required versionId value to the input json.
My suggestion would be using BeforeProvisioningRule because it will be cleaner process.