record not found after clicking on save button

rajneesh7
Kilo Expert

i  have created acl to stop users from accessing the incidents outside of their assignment groups. now they can assign the incidents outside to the groups as per ci and location they will get the list of assignment groups. issue is post saving that assignment group they are getting a message that record not found. they should be redirected to incident list with a message that incident saved. trying to configure oob save but not getting the right option

1 ACCEPTED SOLUTION

Ahmmed Ali
Mega Sage

Hello,

 

try creating Business Rule on Incident table with condition as "Assignment group changes and Current user is not part of Assignment group" and in script add action.setRedirectURL("incident_list.do");

 

Note: in above URL i did not gave any query. modifiy it accordingly as per your requirement.

 

Let me know for any issue.

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Rajneesh,

after saving the read acl is working and blocking the record.

can you check acl is configured properly?

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

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

Ahmmed Ali
Mega Sage

Hello,

 

try creating Business Rule on Incident table with condition as "Assignment group changes and Current user is not part of Assignment group" and in script add action.setRedirectURL("incident_list.do");

 

Note: in above URL i did not gave any query. modifiy it accordingly as per your requirement.

 

Let me know for any issue.

 

Thanks,

Ali

If I could help you with your Query then, please hit the Thumb Icon and mark my answer as Correct!!

Thank you,
Ali

thanks for your suggestion Ahmmed. it worked

Hi Rajneesh,

 

I am also facing same issue and tried creating business rule but its not working.

Also created save button but still before query BR (which we have written to restrict access based on assignment group) is taking precedence and showing "Record not found".

Can you please provide your BR code which fixed this issue for you.

 

Regards,

Muskan