The table below details some potential reasons why your workflow is blocked.
Reason | Description |
The workflow you are running is required to process a large amount of data | For example: Sending a policy document or entering a bulk absence for a large number of employees. In these situations, it is advisable to give the workflow a chance to process the information and complete in due course. |
Blocked workflows could also be a result of SQL server performance | For example: If a SQL Server is housing multiple databases or does not meet minimum hardware specifications for SelectHR, it can put a strain on the SQL Server which will have a detrimental effect on server performance. |
The workflow cannot progress past a "delay" stage because the Notification Service is not running | A delay stage prevents the workflow from progressing for an amount of time. |
Blocked workflow email notifications
This is sent when a running workflow has encountered a problem. Information about the workflow is usually included within the email notification.
Using this information, it is sometimes possible to go into the Workflow Configuration and find the workflow the notification is referring to.
To identify the problematic workflow instance, follow these steps.
In the Admin Tool, in the Workflow section, click Workflow Configuration.
Scroll through the list of workflows until found the likely candidate.
Double-click on the suspected workflow.
This will bring up the Workflow Properties.
Expand the Running Workflows.
If there are none showing then it will not be this suspected workflow, repeat from step 2.
A list of possible running workflows can be displayed:
The Date is the date when the workflow was submitted.
The Initiator is the person who started the workflow.
Depending how much information the notification gives these two pieces of information can be of assistance. Especially if there is a date, because the date should be before the date on the notification.
Double-click on any of the suspected workflow to bring up its' Workflow Instance Properties.
Scrolling through the Stages near the bottom looking for the Messaging stages and opening them to see who they have gone to can help determine if this is the running workflow which is causing the blockage.
If it is determined that the running workflow is the cause, then using the Terminate under the Running Workflows will stop the workflow and any notifications associated with it.
It will also remove any Task List entry caused by any assignment.
If it is an Absence Type request, then it will leave an entry in the Absence data table, so it might need to be deleted from the specific person's Absence History.
Use data exports to identify blocked workflows
You can run a data export on the SelectSystem database to assist in identifying and resolving blocked workflows.
Function | SQL Code |
Ascertain the Instance Stage using the Instance ID within the email sent to HR. You should replace the Instance ID Criteria with the Instance ID in the Email. | SELECT |
Identify all Workflows that are currently running where there is a Task Stage that has no active User assigned, essentially blocking the Workflow from being possible to complete. | SELECT |
Assign the blocked task to a user to complete
Once you have identified the problematic workflow(s), you should follow the guidance on assigning the task to a user to complete .