Skip to main content
Question

How do I send a Slack notification if my workspace fails?


How do I send a Slack notification if my workspace fails? Easy to do if features are written, bot not sure how if no features make it through the feature writer.

2 replies

  • April 13, 2016

I would suggest creating a Runner workspace that has: creator -> WorkspaceRunner -> SlackConnector (on v2016.1) - where the WorkspaceRunner will run your workspace. Added benefit that you can run multiple workspaces and track their failures.


fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • April 16, 2016

Depends on your definition of "failure" I guess. If you're on desktop and you want to catch any workspaces that error out, then the suggestion a small workspace to run the main worker is a good one.

If you're on FME Server, then you could make a small workspace that will notify Slack (via an embedded SlackConnector in 2016.1), and then have it run whenever the JOB_FAILURE topic is fired. The instructions here would be useful, just be sure to replace all the Email details with the relevant (simpler) Slack details.


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