|
|
|
@ -66,7 +66,7 @@
|
|
|
|
<bpmn2:outgoing>Flow_1nuku1o</bpmn2:outgoing>
|
|
|
|
<bpmn2:outgoing>Flow_1nuku1o</bpmn2:outgoing>
|
|
|
|
<bpmn2:script>def process = processes.byId(contextScopeId, contextProcessId)
|
|
|
|
<bpmn2:script>def process = processes.byId(contextScopeId, contextProcessId)
|
|
|
|
|
|
|
|
|
|
|
|
if(awxResponse != null && awxResponse.job != null) {
|
|
|
|
if(awxResponse != null && awxResponse.job != null) {
|
|
|
|
def jobs = process.getVariable('jobs')
|
|
|
|
def jobs = process.getVariable('jobs')
|
|
|
|
jobs = !!jobs ? jobs : []
|
|
|
|
jobs = !!jobs ? jobs : []
|
|
|
|
jobs.add(0, awxResponse.job)
|
|
|
|
jobs.add(0, awxResponse.job)
|
|
|
|
|