< class="prominent-subhead ">

Issues using Go To activity SmartObject in K2 Five\Cloud

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.


An advanced level workflow may force a workflow to advance to another step, using the SmartForms SmartObject's Go To Activity method, included in this community service: https://community.k2.com/t5/K2-blackpearl/WorkflowManagement-Service/ba-p/65416?

An error will occur:

Activity Process not found


You will note that this issue did not occur in K2 Blackpearl. The name of the activity is exactly the same in the SMO call and error message as it is named in the HTML5 designer.


This is due to the new workflow engine using the system name, not the display name of the process step.

Running this SQL will allow you to get the system names for the workflow's steps:

Declare @Workflow NCHAR(50) Set @Workflow ='Workflow DisplayName Goes Here'

SELECT [DisplayName], [Name] FROM [K2].[Server].[Act] WHERE ProcID = (SELECT ProcVerID From [K2].[Server].[ProcSet] Where [DisplayName]= @Workflow)

Once you have the system name, edit the SMO call to use the system name extracted above.

If you are a Cloud customer, you will need to log a ticket for the Ops team to run the above SQL. In the ticket description, please include:

1. Cloud KUID (https://help.k2.com/kb002369)
2. Workflow display name