Getting error during "Add attachment to form(SP)" in ATF.

Sharusha
Tera Contributor

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

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

@Sharusha 

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.

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

Sharusha
Tera Contributor

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

 

@Sharusha 

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.

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

No it did not work for admin user in ATF but working manually.

Yes timeout of 30 secs doesnt help either!

Regards,

Sharanya