Issues with ATF not acknowledging a mandatory document has been attached

Kathi
Tera Expert

I have created an ATF for a service catalog item.  This catalog item has the "Attachment mandatory" box checked on the Service Portal tab.  For the ATF, I used the "Add Attachments for Form (SP)", the documents are attached and that step is successful.  The next step is Order a Catalog Item (SP).  This step is failing.  When I watch the ATF run, the * remains red, even though the documents have been attached.  It seems as though the ATF is not acknowledging that the "Mandatory" has been satisfied.  To troubleshoot the issue, I unchecked the attachment mandatory box in the catalog item, then run the ATF, it runs successfully.  Not a huge issue, but if anyone has suggestions to get the ATF to acknowledge the mandatory attachment that would be appreciated.  Thanks.

3 REPLIES 3

SumanthDosapati
Mega Sage
Mega Sage

@Kathi 

Try adding a wait/sleep for few seconds after adding attachment and before submitting the catalog item.

 

Accept the solution and mark as helpful if it does, to benefit future readers.
Regards,
Sumanth 

Shaqeel
Mega Sage

Hi @Kathi 

 

Add wait/sleep or perform some activity like updating, validating before the step Order a catalog item(sp).

 

 

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

Kathi
Tera Expert

The order of my steps - Open a Catalog Item (SP), Set variable Values (SP), Set variable values (SP), Order catalog item, add attachments to Form (sp)

Per suggestions, I rearranged the order to - Open a catalog Item (sp), add attachments to form (sp), set variable values (sp), set variable values (sp), order a catalog item (sp) with a 15 sec wait.

Still failing at the order item step.

I removed the Mandatory requirement for the attachment; the ATF runs to the end successfully.  Add the mandatory back, it fails. The ATF is not acknowledging the attachments have been added and the "Mandatory" has been satisfied.