Skip to content
Snippets Groups Projects
Commit e095b23e authored by S.Listl's avatar S.Listl
Browse files

Workflow start didn't use filter

parent 7f1d7b45
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