Skip to main content
swapnar6405
March 17, 2023
Solved

Email attachment issue

  • March 17, 2023
  • 5 replies
  • 0 views

Hi,

I am using a smart service called "Export Data Store Entity to Excel" and generating a document and storing in a pv! variable.

Now, when I try to attach the same document in the "Send E-Mail" service, I am getting an error. I passed the variable to the "Attachments" like pv!reportName and tointeger(pv!reportName), but still no luck.

By looking into an error message I was unable to find the root cause.

Can someone advise please.

ERROR:

Problem:  An error occurred in executing an Activity Class.

Details:  Failed to process attachments

Recommended Action:  Examine the activity class to correct the error and then resume.

Priority of this problem: High Priority

Best answer by sanchitg0002

As I told you pv!reportname do not contain your generated document it just have a text for document name, use the pv!NewDocument in attachments for send E-mail service.

5 replies

March 17, 2023

Hi,

You are not saving the generated document correctly here, your pv!reportName will just have the name of document which you are passing in value.

The generated new document can be saved into a pv from Output tab from Results 

swapnar6405
March 17, 2023

Hi did setup in the Outputs tab too. But no luck. Could you check below attached screen shots please.

March 17, 2023

As I told you pv!reportname do not contain your generated document it just have a text for document name, use the pv!NewDocument in attachments for send E-mail service.