Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Attach file to approval email or provide a link to download the file

DimaKudryavtsev
Level 4
Level 4

Hi

 

I have a bit of an unusual request.

 

We need to perform a manual step in some of our campaigns. AC will select the list of the customers, then this list has to be given to an operator and workflow should be paused until the operation is completed.

 

I was planning Export the list as a file using Export activity and then attach the list to Approval activity and send the file. However, it seems that Approval activity does not have that option. I tested multiple ways to do it, none of them works. Even if I manage to transfer the file name to the activity, it cannot be attached because the process will actually happen on the mid-sourcing server and the file is exported on our marketing instance.

 

Next, I attempted to provide a link to download the file. I used xtk:fileRes to generate the resource, but it did not work either. It seems that xtk:fileRes can only generate image resource and does not work with CSV.

 

What other option do I have? Is there any way to generate a link to download the CSV file from marketing instance?

 

Thanks 

Dima

1 Accepted Solution
isahore
Correct answer by
Level 3
Level 3

Hi @DimaKudryavtsev,

 

Of course you can add an attachment to your approval activities in your workflows.

Just create a new technical delivery template, this time with a calculated attachment, pointing to the file which is generated so it can be attached in there.

If you are using a "data extraction" activity to generate the file, then by default the file is located in the "export/" directory on your sever. So in the attachment section of your delivery template, you can specify it like this:

isahore_0-1603879881393.png

You can then use this template in your approval activity.

 

Let me know if that helps.

 

Regards,

Ishan

 

View solution in original post

5 Replies
Manoj_Kumar_
Community Advisor
Community Advisor

Hello @DimaKudryavtsev,

 

Here is a workaround to achieve the same thing.

 

Add a delivery activity before the approval step and attach the file in the delivery. This delivery will be sent to the same operator and then you can add the approval step to hold your workflow until it is approved or declined.

 

Thanks,

Manoj

 

 

DimaKudryavtsev
Level 4
Level 4
I want to avoid sending two deliveries if possible. There going to be multiple workflows like that and having two deliveries can become very messi.
DimaKudryavtsev
Level 4
Level 4
I'm thinking to create my own web app to handle this use case.
isahore
Correct answer by
Level 3
Level 3

Hi @DimaKudryavtsev,

 

Of course you can add an attachment to your approval activities in your workflows.

Just create a new technical delivery template, this time with a calculated attachment, pointing to the file which is generated so it can be attached in there.

If you are using a "data extraction" activity to generate the file, then by default the file is located in the "export/" directory on your sever. So in the attachment section of your delivery template, you can specify it like this:

isahore_0-1603879881393.png

You can then use this template in your approval activity.

 

Let me know if that helps.

 

Regards,

Ishan

 

View solution in original post

Sukrity_Wadhwa
Employee
Employee

Hi @DimaKudryavtsev,

Were you able to resolve this query with any of the given solutions? Do let us know.

Thanks!