Issues using Go To activity SmartObject in K2 FiveCloud

  • 16 February 2021
  • 0 replies
  • 157 views

Userlevel 5
Badge +20
 

Issues using Go To activity SmartObject in K2 FiveCloud

kbt163565

PRODUCT
K2 Cloud
K2 Five
TAGS
K2 SmartObject Integration
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.

Issue

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

 

Symptoms

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.

Resolution

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

 


0 replies

Be the first to reply!

Reply