We have a usecase that where we need to remove an AttributeAssignment from an identity using a RunRule task.We have implemented the logic, but we are facing issues to retrieving the user identity. Can anyone suggest an approach for removing attributeAssignements for specific application or for all applications.
We were able to achieve this usecase using a PreRefresh rule and it is working as expected, but we need to implement it through a RunRule.
We have executed the code mentioned above, but we facing an issue with removing the attributeAssignement group. It is currently removing the required group from the user’s application link, but our requirement is to remove only the attributeAssignements entry from the identity.xml file.
Example:
We have group named ABC group.
In user’s identity.xml file,the attributeAssignements include : ABC group, AED group.
In user’s identity cube for particular application link, the group are :ABC group, CCE group.
In this case, we need to remove only the ABC group from attributeAssignements entry in the identity.xml file, and it need to be available in the user’s identity application link.
And additionally, we need the list of identity names for which the attributeAssignements removal was performed to be display in task results.
Hi @mathieug,
Yes, we tried the batch request. When we run the Batchrequest file, it adds some entitlements as attributeAssignments. We need to remove those attributeAssignments from the identity.xml file through the Runrule task.
Hi @kalyan_dev32 ,
We were able to achieve this use case using a PreRefresh rule, and it is removing attributeAssignments. However, we need to implement it through a standalone RunRule.