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
Admin message
Gitlab Maintenance 11.04.2025 | 20:00 - 23:00 MEZ
Show more breadcrumbs
xrm
basic
Commits
8fa41842
Commit
8fa41842
authored
5 years ago
by
S.Listl
Committed by
Sebastian Listl
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Workflow start serial action fix
(cherry picked from commit
e7ba82f9
)
parent
84bc8284
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 @
8fa41842
...
...
@@ -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.
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