business rule was not working when i impersonate the user.

venu18
Tera Contributor

i have written the BR(on incident table) for updating the group table field based on incident service offering.

when I test group field is updating as expected but when I impersonate with the user BRR is not updating the group field.

is there any suggestion for updating the group record not considering user who caused to trigger the BR.

4 REPLIES 4

Priyanka_786
Tera Guru
Tera Guru

@venu18 Check if access  validation are done on group table by ACL.

Hope it helps.

Please mark my response as helpful/correct if it helps.

Regards,

Priyanka Salunke

Sumanth16
Kilo Patron

Hi @venu18 , 

 

Try to add some log statements (or) info messages to check business rule is executing from that user profile. Generally Group table read(or) write ACLS limited to particular roles. Check ACLs on the incident and Group table by enabling debug security rules.

 

Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!

 

Thanks & Regards,
Sumanth Meda

venu18
Tera Contributor

Yes i understood due to user not able to update the group record so BR is not working. i need another way without considering user profile need to update the group table

 

Hi,

 

it will lose the functionality for audit and tracing which user has updated the record. 

Please refer below thread:

https://www.servicenow.com/community/developer-forum/running-a-business-rule-as-a-specific-user/m-p/...

 

Please mark the appropriate response as correct answer and helpful, This may help other community users to follow correct solution.

Thanks & Regards,
Sumanth Meda