Symptoms
After the user of the method "GoToActivity" from the Smart Form or Workspace, we see that all other activities are expired.
Diagnoses
It's a behaviour explained in the K2 official documentation: https://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.7/default.htm#7.Troubleshooting/Worklist.htm?Highlight="Remember, the GoToActivity method expires all active activities - not just the one it was called from"
Resolution
The GoToActivity action is therefore an advanced feature that must be used with caution. Note: There is a method only available via the APIs (C# code) to define the activity to be replaced FROM-TO (WorkflowManagementServer.GotoActivity). Please find attached a broker (non-standard, unsupported) that can be called (see "Example with K2 WorkFlowManagement.png" and "K2Field.WorkflowManagement.zip").