Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

How to add attachment to a mandatory attachment field on a related list form through ATF

Sardash
Mega Guru

How to add attachment to a mandatory attachment field on a related list form through ATF. PFB image

Sardash_0-1702473087573.png

 

3 REPLIES 3

Sagar Pagar
Tera Patron

Hi @Sardash,

 

Take a look at old thread. It will help you for this requirement.

How to upload files into Catalog item variables via ATF 

If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow

Sardash
Mega Guru

@Sagar Pagar

Could you please let me know which records sys_id did you use as i don't have any record where my attachment is present

Hi @Sardash,

 

You need to use the attachments sys_id. Navigate to Attachment [sys_attachment] table and copy the sys_id.

 

If my response helps you resolve your issue. Kindly mark it as helpful & correct. It will be helpful to future readers! 👍🏻
Thanks,
Sagar Pagar

The world works with ServiceNow