Update Role diplayName and description

i have a requirement in SailPoint IIQ to update role display name and description.
I have created a Rule using below methods to update the role displayName and description. The rule was able to update the role but it is not updating the identity which has the same role. On the identity it still shows the old description. I tried running the refresh on the identity but still no luck.

Please suggest how to extend the attached rule to automatically update the identities which has the role.

bundle.setDisplayName(newDisplayName);
bundle.setDescription(newDescription);
rule_update_roles_from_csv.xml (2.7 KB)

Hi @sunilasm - You can run the Propagate Role Changes task, also make sure you have the Allow propagation of role changes checked under Gear>Global Settings>IdentityIQ Configuration>Roles tab

Hi @ryan_toornburg - i have checked the check box and ran the rule and see the role has been updated after that i have ran refresh on the identity but still i can see old description on the identity,

Hi @sunilasm Try running propagate role change task instead of identity refresh task.

Hi @shruthi_m - i dont have the propagate role task in my environment, could please share the xml i will try in our LE

Hi @sunilasm ,

You can create a new Role propagation task.
Got to Setup—>Tasks—>New Task---->Select Propagate Role Changes.

Hi All - i have ran the “Propagate Role Changes” still identity description has not updated. Below is the config of the task,

Hi @sunilasm ,

Updated role displayName and description is reflected in the Role?
To update the description of the role, use below method.

addDescription​(java.lang.String locale, java.lang.String desc)

bundle.addDescription("en_US","description"); // replace the description with actual description.

bundle.setDescription(newDescription); seems to be the problem here , we have to use the method of bundle.addDescription(“en_US”, ).
Then run the propagate task.

Use the snippet Arun provided, that should do it and your role info on the Identity should show the update like this example:

@ryan_toornburg and @Arun-Kumar - thank you for your response.

We are already using setDescription and it was reflecting in under role properties but it was not updating on identity entitlements role information. I also tried addDescription behavior is same it was not updating under identity - entitlements tab.

Any other suggestions are helpful.

Hi @sunilasm ,

Update the Bundle displayName and description on the debug page, then verify the changes in the Identity Entitlement tab. There’s no need to refresh; simply reload the page and check.