cancel
Showing results for 
Search instead for 
Did you mean: 

Show Workflow-Status in Office 365

eiben
Nintex Newbie
14 6 3,857

Workflow-veterans know: when you publish a new list-workflow to SharePoint a new column is added to the list, which show the current status of the workflow. Typically, these statuses are: in progress, completed, error and canceled.

legacy_wf_status.png

There is a corresponding workflow-action, which allows to write in any custom status, for example if an item has been approved or needs additional review. This allows a more fine grained insight of the current status of a workflow.

Starting with SharePoint 2013 Microsoft introduced the Windows Azure Workflow infrastructure in addition to the existing workflow engine from the .Net Framework. This new engine is totally independed of SharePoint (and is therefore a separate setup as well).

If you publish a new WAW-workflow this will also create a new status-column, but this column will actually be left blank (at first), when a new instance is started.

waw_wf_status_001.png

Because SharePoint Designer adds a Stage action to the workflow, this stage-name will be used as the workflow status. Since this Stage-Action is used by default, new workflows will most likely always have a status.

waw_wf_status_002.png

Why is this status-column so interesting anyway? Well, the status-column is a link to the actual workflow-instance. So if you click on that link, you'll see the workflow-status. You could of course also open the context-menu of the item, click on "Advanced > Workflows" to see all current and previous workflows, choose the current workflow you're interested in to get to the status-page - but the link is much quicker.

But how about Nintex Workflows?

nintex_wf_status_001.pngnintex_wf_status_002.png

They don't show a status - and thus there's no link to the status-page available. That's because the default nintex workflow doesn't writes any status - so you should add a "Set Workflow Status" action to the beginning of your workflow.

nintex_wf_status_003.png

This way you'll get a link in the status-column of your workflow, which will take you direct to the status-page of the workflow-instance.

nintex_wf_status_004.png

You should also consider adding a "Set Workflow Status" action to the end of your workflow, to set a status like "completed". Otherwise the status of the workflow will remain to whatever you set it last, even though the workflow was completed in the meantime.

6 Comments
andrewg
Nintex Newbie

I have definitely over-looked this before. Thank you for pointing this out!

mmatsako
Nintex Newbie

Great post and advice!

Warwick
Nintex Newbie

Thanks for the explanation, lets hope Nintex can expand on this functionality in the product very soon. With no email alerts of workflows errors there is also no way to browse a list to view all failed workflows. You must dig into each list item, and when there could be thousands this is not possible. Bad user and admin experience currently.

Please up vote on User Voice! - Workflow Column Status – Customer Feedback for Nintex

This one is desperately need also - Email/Notify on workflow failure/error – Customer Feedback for Nintex

eiben
Nintex Newbie

Well - you could check out /_layouts/15/WorkflowServiceHealth.aspx. It's not the best overview, but you should see a list of all running workflows, as well as all errors (in the current site).

Warwick
Nintex Newbie

Thanks gives a 10,000 foot view I guess, and somewhere to start looking! really hope possibly Nintex Insights taps into this info, though it looks like Office 365 isn't support in the initial of that. Management is just not viable currently, which potentially results in a poor user experience, no matter how well the workflow is designed that still sometimes fail for random reasons

fmorales
Nintex Newbie

Excelent request....