Knowledge workflow is triggered when condition is not matching on workflow


Description

Knowledge workflow is triggered when condition is not matching on workflow

Resolution

UI action 'Publish' has startWorkflow call at line 3 out of the box. This function calls the workflow and bypasses the conditions on workflow. This is out of the box behavior.
If you want workflow should not trigger then you will have to customize this script as per your requirement.

So if you provide the condition on workflow which does not match the condition then you will see only one time the workflow is triggered that is through this UI action but when condition matches on workflow then you will see the workflow is triggered twice.