Sending email with attachments generated by Output files
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
I have a chained App in Gallery, and it doesn't show the output files on success but run directly the next app.
So I'd like to send an email with the output files generated to the user.
When I create my workflow, add the email tool, Add attchment, it is only files from my laptop while I want the attachment to refer to the generated output files.
Could you help me?
Thanks
Solved! Go to Solution.
- Labels:
- Chained App
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You should be able to write the file to the temp filepath and then use that path for the email attachment. You can either use an email tool or set up and "after run without errors" email event.
For instance, write the file with filepath: %temp%\filename.yxdb (or whatever file type you want to use.
You can then use the following path to attach the file: [Engine.TempFilePath]+"filename.yxdb"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
also, put a block until done tool upstream from the email tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Actually, I have found the solution: you just need to put the name of the file instead of a path and when publishing in Gallery, the App will use the file generated in the App.
Thanks for your inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
the Block Until Done is not very helping as it is not fully blocking downstream when you use file/Connector... with Salesforce.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi Nicolas, are you using the temp file path in the file output? can you show an example?
