Business Role Description not updated in Access Request Page

Hi All,

I updated the business role description using the run rule. After running the rule, the description was updated in the Roles tab, but it is not reflecting on the Access Request page. I’ve already run the role index refresh and cleared the cache

Can anyone advise how to resolve this?

Thanks,
Ranjith M.

Hi @Ranjith25 ,

I hope you have updated the role description using the method below.

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

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

Hi @Arun-Kumar

I’m using the same method in my code also. but in access request page not reflecting the updated description

Hi @Ranjith25 ,

Use the sailpoint.api.Describer class to update the bundle description.

sailpoint.api.Describer 

Try with below code to update the description

import sailpoint.object.Bundle;
import sailpoint.object.Describable; 
 import sailpoint.api.Describer; 

  Bundle bundle = context.getObject(Bundle.class, "testbuzrole");      
  if(bundle != null){

      bundle.addDescription("en_US", "testing_Description");
      context.saveObject(bundle);
      Describer describer = new Describer((Describable)bundle);
      describer.saveLocalizedAttributes(context);
      context.commitTransaction();
      context.decache(bundle);
  }

Hi @Arun-Kumar

Thanks @Arun-Kumar . I’m now able to see the Description on the Access Request page. Is there a way to also display the Business Role Owner on the Access Request page? Currently, it’s taking around 2 hours for any changes to reflect.