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.

Business rule to insert attachment

aravind23
Tera Contributor

I have a requirement here. If anybody could guide that would be of great help.

I need to copy attachment from a Requested Item and then insert that attachment to a data source.
This has to happen for a specific Item (i.e.) (If I am requesting apple iPad catalog item and adding a attachment to it the business rule should take the attachment from only apple iPad item not from the rest and add it to a data source)

In future when I request apple iPad catalog item again with an attachment added this should replace the old attachment on the data source and add a new one. and should not insert additionally,
Thanks in advance.

5 REPLIES 5

@aravind23 

then delete the file just before loading/copying the file.

I have explained everything in detail in my blog.

Did you check that?

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