Custom Responsibility and responsibility access configuration

Shivambitanwar1
Tera Contributor

Hi Experts, 

I am trying to create a custom responsibility to provide different access to contacts based on a condition. 

For ex: case editor - should get access to read and write when certain conditions are fulfilled . 
case reader - should get access to only read when certain conditions are fulfilled . 

I am not preferring to do it in ACLs . 


However, the script includes evaluating responsibility has hardcoded responsibilities Authorized account and Authorised representative . On the servicenow docs site it says : 

To create entries to the Applies to Relationship, Access Levels, or Accessible Entities fields in the Responsibility Access Configuration table, you must migrate all existing configurations for these fields in the global.CSMRelationshipConstantsSNC script include.

Is the only way to do this is by  customising the script include or is there a migration fix script ?


//Shivambi


1 REPLY 1

sanjaygupta
Tera Guru

You don’t necessarily need to customize CSMRelationshipConstantsSNC. The documentation requires migrating existing configurations to the Responsibility Access Configuration table, but I couldn’t confirm whether ServiceNow provides an out-of-box migration fix script for this.

  • Check the existing configuration in global.CSMRelationshipConstantsSNC.
  • Configure your custom responsibilities and access levels in the Responsibility Access Configuration table.
  • Test the changes in a sub-production instance before modifying the out-of-box script include.

I’d recommend checking with ServiceNow Support whether a migration fix script is available for your specific release before customizing the script include.

 

Hope you find this helpful, if so do gives a thumbs up.