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

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.

Userlevel 4
Badge +13

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.

Reply