Skip to main content

Error: A workflow stage has been encountered which has no target users

Error received via email: A workflow stage has been encountered which has no target users

H
Written by Harry Ledger
Updated over a month ago

This error that is often included in an email is caused by a running workflow not having any users assigned to it. Due to this, there is no way for the workflow to be completed, so the system presents this error message to make the relevant individuals aware of the issue.

Identify the workflow causing the error

  1. Log in to the Admin Tool.

  2. In the Maintenance section, click Import/export data.

  3. On the right, click Create an export definition.

  4. At the top, click Select the data to export.

  5. Using the Database drop-down, select SelectSystem.

  6. Click OK.

  7. Copy and paste the following SQL Script into the SQL tab:

    Select Security.Users.[User Name], Workflow.[User Task List].Description, Workflow.[User Task List].Created, Workflow.[User Task List].Action, Workflow.[User Task List].[Workflow Name] From Workflow.[User Task List] Left Join Security.Users On Workflow.[User Task List].[User Number] = Security.Users.[User Number] Where Security.Users.[User Name] Is Null
  8. Click the Data tab to see a list of all workflows that are currently running with no user assigned.

  9. Make a note or take a screenshot of this information, as it will be needed to resolve the error in the next steps.


Resolve the error message

There are two ways to resolve this issue. The workflow can either be terminated (meaning it is cancelled completely), or it can be assigned to another user who will continue the Workflow.

  1. In the Admin Tool, click Workflow Log.

  2. On the right, use the Display Entries Between filter to load all running workflows that were created on the date relevant to the information gathered earlier in the article.


Terminate the workflow

  1. Select the entry which matches the Name and Created Date of the workflow identified earlier in the article.

  2. On the right, click Terminate the selected workflow.


Assign the workflow to another user

  1. Select the entry which matches the name and created date of the workflow identified earlier in this article.

  2. In the Stages section of the newly opened window, double-click the most recent stage.

  3. Under Users, there will be no names. On the right, click Assign Another User.

  4. Use the drop-down and select the user who will take on the workflow, then click OK.

Once all of the workflows that had no users assigned to them have been either terminated or reassigned, this error message will no longer be sent by the system.

Did this answer your question?