Get notifications when a Rule has a run error?

We have a custom rule that has a Do This > Run Script

The script itself is just adding a few tags to the trigger task – because for some reason Asana won’t bake in “tags” into the regular Rule Actions. But that’s been a separate frustration for years…

In some rare cases, the script itself will fail and therefore not fully run.

The issue is, we often don’t know when a particular run has an error.

We can see in the Run History of a given rule, that the script has failed.

But we never get notified about this. Getting a ping in Asana inbox, on the task itself, or an email would be ideal.

For what it’s worth, the error in this was:

Encountered an error: {“name”:“PromiseRejected”,“message”:“connect ETIMEDOUT 10.254.0.17:443”,“stack”:" at run (eval.js:17)\n"}
Finished in N/A ms.

1 Like

@FreshyJon - I’m fairly certain notifications are not currently supported or configurable (I’ve had the same issue). If you haven’t already, you should probably build some error handling and logging into your scripts (although in your specific example, I don’t think it would’ve mattered cuz your script exceeded the 30s runtime).

We do get notified sometimes, but not always. This is a big issue indeed. There is a “rule” view coming, with a long list, hopefully they’ll put some filters so we can see broken rules easily

1 Like

Agreed! There needs to be some kind of notification… on the project, in the task… an email notification… something. I built a workflow with several rules that run at different points/ statuses in the workflow, and the people using the project just are like, why didn’t the subtasks get added at this step? not to mention the rule failure information is not informative, so we dont know WHY it failed. With how much automation Asana has, we need some way to know when we need to look at a rule to check on these kind of issues.

This is indeed getting very problematic. I was hoping that with the new “workflow” entry in the side nav and the new rules list we could filter based on broken rules as well. I have an upcoming call with the PM of rules. I’ll make sure to share that with them.

1 Like