Skip to main content
Solved

How to include the log file URL in an Automation email

  • September 23, 2020
  • 2 replies
  • 96 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...

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nic_ran
Contributor
Forum|alt.badge.img+16
  • Author
  • Contributor
  • 218 replies
  • 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
  • 218 replies
  • September 23, 2020

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

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