- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 05:45 AM - edited 12-18-2024 05:51 AM
Hello All,
I am creating an ATF Test for a Catalog item and the Mandatory Attachment is true for that catalog item. After setting the variable values, I have added the step 'Add Attachments to Form (SP)' to attach an attachment but when I run the test, I am getting this error 'FAILURE: Validations failed. Failed to Order Item'.
Has anyone encountered such error? What can be the solution or workaround?
Any help would be much appreciated!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 09:27 AM
Hi @Community Alums
Attachment will not get attach.
It depends upon the customizations.
It is the known issue.
Here is the KB article.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0832273
***************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
******************************************************************************************************
Regards
Shaqeel
***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.
***********************************************************************************************************************
Regards
Shaqeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 07:37 PM
@Community Alums
then it won't work with that attachment mandatory checkbox.
It's a limitation with ATF.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 07:37 PM
@Community Alums
then it won't work with that attachment mandatory checkbox.
It's a limitation with ATF.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2024 05:54 AM
@Community Alums
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 10:24 PM
@Community Alums
Hope you are doing good.
Did my reply answer your question?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 07:25 AM
@Community Alums
In addition to Ankurs suggestions:
have you checked the screenshot for step 5? Maybe the Order Item really couldn't be submitted. Sometimes an error message or a mandatory field is shown in the screenshot for failed steps.
best regards,
Beate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2024 11:20 AM
@BeateN
The problem I think is not with the Order Step, When the test run reaches the Add attachment step, I can see that the files get attached along with paper clip icon in a different way, the files do not get attached in that way when you attach them manually on the form.
See the screenshots for better understanding