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 upload multiple files with the attachment variable

Gary Larsen
Mega Sage

have attachment variable but when we try to upload a second file it overrides the 1st one  

1 ACCEPTED SOLUTION

BALAJI40
Mega Sage

Hi Gary,

The attachment variable has a limitation that, it only accepts a single attachment.

If you want to attach multiple attachments then you have to create an attachment macro variable.

 

 

View solution in original post

2 REPLIES 2

BALAJI40
Mega Sage

Hi Gary,

The attachment variable has a limitation that, it only accepts a single attachment.

If you want to attach multiple attachments then you have to create an attachment macro variable.