Skip to main content
Solved

How to include the log file URL in an Automation email

  • September 23, 2020
  • 2 replies
  • 78 views

nic_ran
Contributor
Forum|alt.badge.img+16

I'd like to send an email upon completion of a workspace in an Automation. The email needs to contain a link to the log file URL.

In the traditional Notification/Subscription workflow I could achieve this by using the {logUrl} email template key in the Subscription.

In Automations, this key no longer exists and I only have access to the {job.log} key, which expands out to the file path and not the URL. I don't see any URL in the topic JSON if I monitor a topic sent as output from the completion of the workspace. Is the URL available at all?

Best answer by nic_ran

I spoke with Safe support and it appears that this is not currently possible out of the box.

It may be possible to build up the log file URL yourself using the {job.id} but you'd need to hard-code the FME Server REST API url into the Automation Email body, so that won't work as a solution that needs to move between different FME Server environments.

If the FME Server web URL could be exposed as a key then, in theory, you could do all sorts of great stuff...

View original
Did this help you find an answer to your question?

2 replies

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • Best Answer
  • September 23, 2020

I spoke with Safe support and it appears that this is not currently possible out of the box.

It may be possible to build up the log file URL yourself using the {job.id} but you'd need to hard-code the FME Server REST API url into the Automation Email body, so that won't work as a solution that needs to move between different FME Server environments.

If the FME Server web URL could be exposed as a key then, in theory, you could do all sorts of great stuff...


nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • September 23, 2020

There's a related Idea here, if you want to vote for it...

https://community.safe.com/s/idea/0874Q000000j0I2QAI/detail


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