Issues using Go To activity SmartObject in K2 FiveCloud
kbt163565
PRODUCTIssue
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:
An error will occur:
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