We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

FAILURE: Validations failed. Failed to Order Item - ATF

Not applicable

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!

2 ACCEPTED SOLUTIONS

 

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

View solution in original post

@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.

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

View solution in original post

15 REPLIES 15

Ankur Bawiskar
Tera Patron

@Community Alums 

try to give some 10 seconds timeout for the Submit catalog item step

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Not applicable

Hi @Ankur Bawiskar 

I gave a 10 second timeout on 'Order a Catalog Item (SP)' step, It failed again with same error. 

@Community Alums 

can you share all the steps for your ATF Test?

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

Not applicable

@Ankur Bawiskar 

Please see the attached screenshot for all the steps,