You are viewing limited content. For full access, please sign in.

Question

Question

how to attahed a file from form to workflow email process?

asked on March 24, 2021

If upload a file in Forms and I want attached the file in work flow, How do I Do it? I am using a c# script. I did try the built email activity but it didn't work for me. Please Help!

0 0

Answer

SELECTED ANSWER
replied on March 24, 2021

Start with a "Retrieve Business Process Variables" activity and select the variable from your file upload.

Then do a "For Each File" activity, cycling through each of the files pulled from the "Retrieve Business Process Variables" activity.

Within the "For Each File" activity, add an "Email" activity, and set the attachment to type File (instead of Entry) and it should let you select the current file from the "For Each File" activity.

Worked for me in testing - looks like this:

2 0
replied on March 25, 2021

Thank you for your response. This help me attached the file via Email activity, but is it possible to attached the file using the script activity? I am formatting the email in html since I can't seem find a way to format the email via the email activity. I tried to attach the file in my script using the For Each File Token but no success. Thank you for your Help!

0 0
replied on March 25, 2021

I'm sure it is probably possible to do it via a script, but I unfortunately don't have a script on hand that will do that.

As far as formatting the email is concerned in the Email activity, it is set up as an HTML email by default, so you just add the HTML tags that you need to the body of the message.

1 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.