call to add_ws_client subworkflow fix
This commit is contained in:
parent
a11bf6a057
commit
9a86ba6ee4
|
@ -77,7 +77,7 @@
|
|||
"inputParameters": {
|
||||
"context" : "${workflow.input.context}",
|
||||
"names" : "${filtered_workspace_client_names.output.result}",
|
||||
"scriptExpression": "inputs={},tasks=[];for(var i=0;i<$.names.length;i++),tasks.push({name:'sub_workflow_task',type:'SUB_WORKFLOW',taskReferenceName:'call_add_ws_client_to_context_'+i, subWorkflowParam:{ name:'add_workspace_client_to_context'}}),inputs['call_add_ws_client_to_context_'+i]={client_id:$.names[i], context:$.context};return {tasks:Java.to(tasks,'java.util.Map[]'),inputs:inputs};"
|
||||
"scriptExpression": "inputs={};tasks=[];for(var i=0;i<$.names.length;i++){tasks.push({name:'sub_workflow_task',type:'SUB_WORKFLOW',taskReferenceName:'call_add_ws_client_to_context_'+i, subWorkflowParam:{ name:'add_workspace_client_to_context'}});inputs['call_add_ws_client_to_context_'+i]={client_id:$.names[i], context:$.context}} return {tasks:Java.to(tasks,'java.util.Map[]'),inputs:inputs};"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue