Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
basic
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xrm
basic
Commits
e7ba82f9
Commit
e7ba82f9
authored
5 years ago
by
S.Listl
Browse files
Options
Downloads
Patches
Plain Diff
Workflow start serial action fix
parent
27950cb2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
entity/WorkflowInstance_entity/recordcontainers/jdito/onInsert.js
+5
-5
5 additions, 5 deletions
...orkflowInstance_entity/recordcontainers/jdito/onInsert.js
with
5 additions
and
5 deletions
entity/WorkflowInstance_entity/recordcontainers/jdito/onInsert.js
+
5
−
5
View file @
e7ba82f9
...
...
@@ -9,7 +9,11 @@ var variables = JSON.parse(vars.getString("$param.ProcessVariables_param"));
var
targetIdFilter
=
vars
.
get
(
"
$param.TargetIdFilter_param
"
)
?
JSON
.
parse
(
vars
.
getString
(
"
$param.TargetIdFilter_param
"
))
:
null
;
var
processKey
=
vars
.
get
(
"
$local.rowdata
"
)[
"
KEY.value
"
];
if
(
targetIdFilter
)
if
(
Array
.
isArray
(
variables
.
targetId
)
&&
variables
.
targetId
.
length
>
0
)
_startForIds
(
variables
.
targetId
.
slice
(),
variables
);
else
if
(
variables
.
targetId
)
_startForIds
([
variables
.
targetId
],
variables
);
else
if
(
targetIdFilter
)
{
var
entity
=
ContextUtils
.
getEntity
(
variables
.
targetContext
);
var
loadConfig
=
entities
.
createConfigForLoadingRows
()
...
...
@@ -28,10 +32,6 @@ if (targetIdFilter)
_startForIds
(
targetIds
,
variables
);
}
}
else
if
(
Array
.
isArray
(
variables
.
targetId
))
_startForIds
(
variables
.
targetId
.
slice
(),
variables
);
else
_startForIds
([
variables
.
targetId
],
variables
);
function
_startForIds
(
pTargetIds
,
pVariables
)
{
...
...
This diff is collapsed.
Click to expand it.
Sebastian Listl
@s.listl
mentioned in commit
8fa41842
·
5 years ago
mentioned in commit
8fa41842
mentioned in commit 8fa41842a779856c24f37a84a270508ef63fb59a
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment