- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:51 PM
I have insert BR written to add attachment from sys_attachmnet table to csm table. Attachment getting added when raising from admin user, but when raising from end user/ITIL user then getting below error:-
Write operation against 'sys_attachment' from scope 'sn_customerservice' has been refused due to the table's cross-scope access policy
Already created scope policy and it is working only for admins
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2025 04:42 AM
this line in record producer script will do the job in both native and portal.
Working solution here, give your correct variable name
new global.VariableUtil().copyAttachment(producer.my_file,'sn_customerservice_case', current.sys_id);
Output:
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 08:59 PM
cross scope doesn't differentiate between admin or non-admins
if it's working with admin then it should work with non-admins as well
share your BR script and what's your actual requirement?
If my response helped please mark it correct and close the thread so that it benefits future readers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 02:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 12:51 PM
created below scoped but still getting error from admin as well
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2025 07:22 PM
what's your actual requirement?
Please share complete details.
If my response helped please mark it correct and close the thread so that it benefits future readers.