Getting error during "Add attachment to form(SP)" in ATF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 07:09 AM - edited ‎03-17-2025 07:11 AM
Hello All,
I am currently automating a catalog item where the attachment is mandatory.However ATF is failing.
And faced this error "User does not have permission to attach to record 'ABC' on table 'sc_cat_item'" while using the step "Add attachments to Form(SP)".
Kindly let me know if there is any solution/workaround for the same. Note: Attachment mandatory option is checked as TRUE for the catalog item and not part of Variables.
This is happening in Washington instance.
@Ankur Bawiskar Need your inputs
Thanks in advance!!
Regards,
Sharanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 07:14 AM
are you sure you are using correct user to test your catalog item submission?
Did you test with admin user and run ATF?
are you using customized portal for this?
The error clearly says ACL issue
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 07:27 AM
Yes tested with admin user for the same and got the error " FAILURE: Validations failed. Failed to Order Item".
No its not customized portaI.
I am creating a user with itil role and impersonating, however it fails for admin and itil user so ACL issue is ruled out I believe.
Regards,
Sharanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 07:34 AM
Did the step for adding file worked for admin?
Did you give some timeout for 10-15 seconds while submitting?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-17-2025 10:27 PM
No it did not work for admin user in ATF but working manually.
Yes timeout of 30 secs doesnt help either!
Regards,
Sharanya