Skip to content
Snippets Groups Projects
Commit 610fd359 authored by S.Listl's avatar S.Listl Committed by Sebastian Listl
Browse files

Workflow start didn't use filter

(cherry picked from commit e095b23e)
parent d4636c7a
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment