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.
The Workflow does not proceed to the next activity when the user successfully approves a task.
This issue can occur when there are trailing space(s) found in the destination user's ActionerName in the [Server].[Actioner] table.
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.