Attach email notification to case

Hi, I have the following requirements:

  1. A scheduled job that runs an activity every morning that will check records for supporting documents
  2. If the supporting documents are not uploaded, the activity is to send an email to the requestor and attach this generated email to the case (similar to this academy exercise).
  3. I have tried SendSimpleEmail but the mail is never attached and there are no errors in the tracer

Is it possible to attach the email to the case via an activity that runs on a schedule (i.e. no user interference)?

Thanks.

@leony

Seems the attachment links section is not getting refreshed. Can you add refresh section on the case once or try to reopen the case.

@leony Can you add a Commit step after step11 and also you don’t need to make use of work-.sendsimpleemail as the temppage is a class derived from work- so you can ignore the class while calling this activity.

Hi, to close out, it seems I need to enable the ‘SendAllAttachments’ to true to allow the email to be attached.

@leony hi Can you check the below link

@leony where can we see this email account name field ??? In activity or data - email account class ??