Skip to main content
Question

How do I attach and send the log file of a workspace using Emailer in Form?


kmc5678
Contributor
Forum|alt.badge.img+2

I have workspace that's using Creator, Workspace Runner and Emailer to run a parent workspace. I would like to attach the log file to both the Successful and Failure emails?Screenshot 2023-12-06 132127

4 replies

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • December 6, 2023

In your child workspace, you can link the log location to a parameter. This will then expose a parameter in the WorkspaceRunner that specifies the log locationimage 

Then in your parent workspace, you can specify the log file name and location which can then be passed to the child workspace and also passed into the Emailer as the attachment


kmc5678
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 20, 2024

Thanks @hkingsbury . I am able to send a logfile now.  However I still have an issue.  I now get an email notification the minute the workspace runner starts with the last run’s logfile.  For example, I have an “ALI Update” Workspace (parent), that is run by “ALI Update Workspace Runner” (child) through Windows task scheduler using a .bat file at 8 AM everyday.  At 8 AM I immediately get a success message with yesterdays logfile.  This workspace takes about 20 minutes to run. How do I get email notification after the workspace has finished running with the current log file?


becchr
Influencer
Forum|alt.badge.img+26
  • Influencer
  • March 20, 2024

hi @kmc5678 just to be sure, have you set this setting to yes in the workspacerunner? I think it’s necessary in the scenario you’re describing

 


kmc5678
Contributor
Forum|alt.badge.img+2
  • Author
  • Contributor
  • March 20, 2024

Thank you @becchr ! Exactly what I was missing.

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings