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.
Currently Workflows fail silently, with information about the error appearing in the
Analyticstab. 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 aattempt_notify_then_fail()function, but the open question is - who do we notify?During execution, the
workflow_step_executeevent 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: