cancel
Showing results for 
Search instead for 
Did you mean: 

Setting up Error Alerts on Nintex Workflows on Office 365

Workflow Hero
11 12 3,661

This solution allows you to set up workflow error alerts on Nintex Workflow for Office 365.

 

AuthorPalesa Sikwane
Long DescriptionThis is a little workaround that can assist you in setting up workflow error notifications on Nintex Workflow for Office 365 whenever a workflow gets Suspended.
Dependencies

Nintex Workflow 365

SharePoint Online

Compatibility

Nintex Workflow O365

Nintex Forms O365

Platform

Office 365

 



What's up Ninsters???

 

Finally back home in the city of Johannesburg, and I've been working on all sorts of interesting things! I've put together a little video below showing you how using List Alerts in conjunction with the Workflow History List on Office 365 to allow you to get Workflow Error Notifications. 

 

 

Summary:

 

Step 1: Access the history list for the site you would like to set up Workflow Error Notifications:

 

Append the following to your Site URL:

/Lists/Workflow%20History

For example, if your site URL is https://example.sharepoint.com/sites/hr , then the appended URL appears as follows.

https://example.sharepoint.com/sites/hr/Lists/Workflow%20History 

NB: Taken from our Online Help File titled Monitoring workflow status and history


Step 2: Set up your Errored Workflows List View

Creating a view called Errored Workflows with the following configuration:

List View

List View

NB: This resulted in me getting a List View from my Workflow History for all the workflows that have any of the keywords which are put in the Description whenever a workflow gets suspended for whatever reason, sorted by the latest one at the top.

 

Step 3: Set up your list Alert:

From your Workflow History List set up an Alert from the ribbon

Setting up an Alert

SharePoint List Alert

Setting up alerts on a view

Step 4: Test this by running workflows that get suspended and throw an error message:

 

In my case I ran on of my buggy workflows:

 

Workflow Status

And I received the following Alert as anticipated:

SharePoint List Alert

And... that's it! Would love it if you guys have a crack at this, and share some of thoughts and experiences!

 

I wish you all a really great weekend!

 

 

 

12 Comments
Workflow Hero

Awesome! Thank you, Palesa!  

Workflow Hero

Oh! this is some dope sh**! I was just asking about this today

And the rap is sick! For Shizzle! Palesa

Workflow Hero

This is great Palesa!

Workflow Hero

Thanks Tom!!  

Workflow Hero

Hi ‌ this is great thanks. But what if the workflow suspends and no workflow history is recorded? 

Workflow Hero

Hi ‌ thanks for your feedback, you got a good point here , this only works for some actions, i will be posting/updating this post with a list of actions that log to the history list when an error has occured.  

Workflow Hero

Hi Palesa

This only captures some of the errors in the workflow history list. Do you know if there is a comprehensive error list that we can tap into?

Workflow Hero

Good day Joanne Morris‌ , thanks for the comment! unfortunately @ this stage we're limited to the type of errors we get pushed into the list due to relying on MS Workflow Manager on office 365. Hopefully in future releases we'll be able to capture more events

Workflow Hero

Thanks Palesa Sikwane for a good tip and a clear explanation.
Love the intro ;-)

Workflow Hero

Thanks Pieter Kops

Workflow Hero

Thank you for providing this as it is great to notify when a item has been suspended, however in the example it provides and ID number which I'm assuming is the ID for the Workflow History list and not the item which the workflow is attached to. This still does not provide which item has suspended unless I am missing something.

Workflow Hero

I have also tried doing it but my history list already passed the threashold so even if i create view with above option it always throws below error.

 

This view cannot be displayed because it exceeds the list view threshold (5000 items) enforced by the administrator.

 

To view items, try selecting another view or creating a new view. If you do not have sufficient permissions to create views for this list, ask your administrator to modify the view so that it conforms to the list view threshold.
 
please help me how to create a view in this seneraio