Skip to content

General: Notify on failure #34

Description

@I-Dont-Remember

Currently Workflows fail silently, with information about the error appearing in the Analytics tab. Slack will hopefully come out with native reporting, but how might Workflow Buddy improve the situation in the meantime?

It would be quite easy to wrap any calls to fail() with a attempt_notify_then_fail() function, but the open question is - who do we notify?

During execution, the workflow_step_execute event doesn't have an obvious default conversation to notify. Nothing the Bolt request context args seems viable either. Wish this could work out of the box, but I guess we'll need to look at other options.

Potential approaches:

  • Add it as an optional input on all Steps
    • This seems like a frustrating annoyance for users to have to fill out every time, but does provide granularity at a step level - would hazard a guess that users would want it at the Workflow level though.
  • Add it as a configuration option in the App Home
    • Let users provide a default conversation to notify for Workflow failures. This appears to be best option so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions