Solved

Email notification to dev/support team if any failures in workflow

  • 12 November 2020
  • 3 replies
  • 82 views

We have 10 workflows in our project. We have to login to the k2 management page to check the error log. Do we have any option to setup an email notification for any failures in workflow?

icon

Best answer by McDude5 19 November 2020, 21:42

View original

3 replies

Hi @velraj ,

 

I dont think there are any built in options, but im sure you can create a workflow to do so:

Create Error Profile notification emails in workflow

Hope this helps :)

 

Kind Regards

Prineel

Userlevel 5
Badge +13

There is a service someone wrote to handle this situation - it is older,  but it still works: https://community.k2.com/general-k2-utilities-85/k2-process-error-notification-service-version-3-k2-pens-65970

There is a built in option that can start a workflow when any workflow errors. This was added with the new Nexus upgrade for K2 Cloud

Create a new workflow and click the Start node. From there you can click “Start when any workflow errors”: 

 

 Then Click “Create variables for me”.

You can set up rules to conditionally start the workflow. I suggest setting it up so it does not notify you when itself errors out (see pic, top condition). You can also set it up so it doesn’t notify on specific workflows as well. 

 

As for what you can do in the workflow itself you can simply have it email or do other things you might normally do with a workflow like create tasks and such. 

 

Reply