From e095b23e79e83c9bab2a4c0c612a13d7741b8c3d Mon Sep 17 00:00:00 2001 From: "S.Listl" <S.Listl@SLISTL.aditosoftware.local> Date: Mon, 17 Feb 2020 08:39:49 +0100 Subject: [PATCH] Workflow start didn't use filter --- process/Workflow_lib/process.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/process/Workflow_lib/process.js b/process/Workflow_lib/process.js index d1001a8024d..c30ab64c7b2 100644 --- a/process/Workflow_lib/process.js +++ b/process/Workflow_lib/process.js @@ -40,10 +40,7 @@ WorkflowUtils.getPossibleWorkflowDefinitions = function (pContext, pAction) WorkflowUtils.openNewInstance = function (pVariables, pTargetId, pTargetContext, pSelectionFilter) { if ((!pTargetId || pTargetId.length === 0) && pSelectionFilter) - { pTargetId = []; - pSelectionFilter = JSON.stringify(pSelectionFilter); - } pVariables = WorkflowUtils.appendMandatoryVariables(pVariables, pTargetId, pTargetContext); -- GitLab