Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to avoid inserting duplicate file name in sys_attachment table

Arun91
Tera Contributor

Hi Team,

We are using order guide and have created a variable as attachment. We are cascading the variable in servicenow.

Based on no of RITM attachments are inserted to sys_attachment table. Could you please help me how to avoid the duplicates while inserting the attachment into sys_attachment table.

5 REPLIES 5

Arun91
Tera Contributor

It is Vancover version. I am using attachment as variable type in catalog item of servicenow