Enforce unique profile business rule

preethigovi
Tera Contributor

Hi Team,

 

What is the purpose of this Enforce unique profile BR, we are trying to update user profile via transform map but for that specific user its errored out as Operation against file 'sn_hr_core_profile' was aborted by Business Rule 'Enforce unique profile^c8698abd83c92214037378dfeeaad303'. Business Rule Stack:Enforce unique profile

 

On checking this BR calls script include and validates, and returns true to BR condition

  1. First name
  2. Last name
  3. Personal email address

For some reason the data is not getting updated in HR profile .

preethigovi_0-1745555540658.png

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@preethigovi 

In HRSD each sys_user should have only 1 HR Profile record only.

That BR validates this and is OOTB behavior

It seems your transform map is trying to add 1 more HR profile to the same user with combination of First Name + Last Name etc

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@preethigovi 

In HRSD each sys_user should have only 1 HR Profile record only.

That BR validates this and is OOTB behavior

It seems your transform map is trying to add 1 more HR profile to the same user with combination of First Name + Last Name etc

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Yes Thank you understood better, issue happened is we have user with   first name , last name , and personal email combo and system again trying to create HR profile for same user(combo of 1st name, last name, personal) but different user id and hope this resulted in error.