Share all details related to your problem, including any error messages you may have received.
i need help in doing this in ServiceNowManualProvisioningModule so please guide me to do this Role Display Name is updated in the description,
SNOW Integration design is updated. to Update Role display Name in the Description field while creating SNOW Tickets
I need code for getting role display name in ticket description of SNOW Tickets in that it is having role and its display name but display name is not updated in ticket description so my requirements is to display role display name in Snow ticket description like “Role Display Name=” this is my requirements please help me with this
if you have role object available in your code …then try .getDisplayName(); method to get the display name inside your snow ticket description field/value.
While raising role request getting error at logs null pointer exception how will I rectify it
It is facing error in
If(identityRequestItem.getName().equals(“assignedRoles”){
roleDisplayName = (String) identityRequestItem.getStringAttribute(“display leValue”);
if(Util.isNullorEmpty(roleDisplayName)) {
roleDisplayName=(String) identityRequestItem.getValue();
}
}
log.trace("roleDisplayName: " + roleDisplayName);
In this code I’m getting null pointer exception please help me with this
Hello @haseenfarzana25, if you are getting null pointer exception means, may be the identityRequestItem doesn’t have assignedRoles. Please use loggers and see the values are coming or not.