K2 Workflow runtime continue execution even when required input fields do not contain values on SmartObject activities and Create Reference activities.
The fix is available in the following K2 versions:
|K2 4.7 December 2019 Cumulative Update||K2 Five (5.0) December 2019 Cumulative Update||K2 Five (5.1) November 2018 Cumulative Update||K2 Five (5.2) May 2019 Cumulative Update||K2 Five (5.3)|
|X||X||X||X||Fix Pack 38|
After installing the Fix Pack, you can now select to stop the workflow runtime when the input values are not supplied. A descriptive error is then displayed on the error page in K2 Management > Workflow Server > Workflows.
Existing workflows will have the “Force error when required SmartObject inputs are missing” setting when you open the workflow, and the setting will be unchecked by default.
Check this setting and re-deploy the workflow.
For new workflows and new activities in existing workflows, this setting will be checked by default.