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

If variables are changed in a sub process, the "Call a Sub Workflow" step in the parent breaks. The variable becomes blank under the "Start Sub Workflow" section of the step and cannot be deleted: 

Image

The workflow will still deploy, however when an instance is started it will hang on the call sub workflow step.

Symptoms

A blank variable field in the "Start Sub Workflow" section of a sub workflow call step will appear and cannot be deleted. This will cause an error when the workflow is deployed and an instance hits the Call Sub Workflow step.

Troubleshooting Steps

A fix is scheduled for this issue in K2 5.2. In the meantime, you can workaround this issue by recreating the step in the parent process.