Attach a csv file on a delivery or alert activity that is calculated on the workfow. | Adobe Higher Education
Skip to main content
DimitrisChatzos
Level 2
February 26, 2025
解決済み

Attach a csv file on a delivery or alert activity that is calculated on the workfow.

  • February 26, 2025
  • 2 の返信
  • 953 ビュー

Hello Everyone,

 

Do you know how to attach a CSV file calculated on the workflow to an email or alert activity?

I have tried an approach that was suggested here via attachments on the delivery but I have the bellow error.

I really appreciate any help you can provide.

このトピックへの返信は締め切られました。
ベストアンサー SushantTrimukheD

Hi @dimitrischatzos,

Use the delivery activity from the Action tab, something like the example below, and place the JavaScript in the Script tab within the delivery activity.

 



delivery.attachment.add( <attachment compressMode="print" filterActive="false" label="my label" nameScriptActive="false" type="normal" upload="false"> <name>{vars.filename}</name> </attachment>) delivery.hasAttachments = true

 Thanks

 

2 の返信

ParthaSarathy
Community Advisor
Community Advisor
February 26, 2025

Hi @dimitrischatzos ,

In Delivery's script tab, paste the below script and run it.

delivery.attachment.add( <attachment compressMode="print" filterActive="false" label="my label" nameScriptActive="false" type="normal" upload="false"> <name>{vars.filename}</name> </attachment>); delivery.hasAttachments = true
~  ParthaSarathy S~  Click here to join ADOBE CAMPAIGN USER GROUP for Quarterly In-person | Hybrid | Virtual Meetups
SushantTrimukheD
Level 4
February 26, 2025

Hi @dimitrischatzos,

Use the delivery activity from the Action tab, something like the example below, and place the JavaScript in the Script tab within the delivery activity.

 



delivery.attachment.add( <attachment compressMode="print" filterActive="false" label="my label" nameScriptActive="false" type="normal" upload="false"> <name>{vars.filename}</name> </attachment>) delivery.hasAttachments = true

 Thanks

 

SushantTrimukheD
Level 4
February 26, 2025

 

DimitrisChatzos
Level 2
February 26, 2025

Hey @sushanttrimukhed and @parthasarathy ,

Thanks a lot for your feedback.

I tried the above but I still have the same issue.

DLV-490089 The upload of the attachments to the mid-sourcing server has failed.
 

What am I doing wrong?

Thanks,