< class="prominent-subhead ">

Workflow does not proceed when user successfully approves a task

~~repeating-content.html~~
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

The Workflow does not proceed to the next activity when the user successfully approves a task.

Symptoms

This issue can occur when there are trailing space(s) found in the destination user's ActionerName in the [Server].[Actioner] table.

Troubleshooting Steps

To resolve this issue, kindly perform the following steps:

1. Open the Server.Actioner table and locate the record for the destination user, using the query below:

Select ActionerName from [K2].[Server].[Actioner] where ActionerName = '<Replace with user's FQN>'

2. Under the ActionerName column, copy the name onto a notepad and check whether there are any trailing space(s).

3. If there are, you can trim the trailing space(s) by executing the following query.

Update [K2].[Server].[Actioner] Set [ActionerName] = LTRIM(RTRIM([ActionerName])) Where ID = [ActionerID]
Please remember to make a backup of the K2 Database prior to making any modification, in case of a need to rollback.

To prevent the issue from happening again, please check the Destination user setup in your workflow design. An Inline Function > Text > Trim function can be used in the Destination Rule to intercept and remove any trailing space(s) before the task gets assigned and written to the [Server].[Actioner] table.