moved from decision to switch for compatibility with new conductor
This commit is contained in:
parent
7dadef708e
commit
7ca6e1e022
|
@ -116,7 +116,7 @@
|
||||||
"role": "${workflow.input.role}",
|
"role": "${workflow.input.role}",
|
||||||
"roles" : "${get_client_roles.output.body}",
|
"roles" : "${get_client_roles.output.body}",
|
||||||
"evaluatorType" : "javascript",
|
"evaluatorType" : "javascript",
|
||||||
"expression": "for(var i=0; i < $.roles.length;i++){if($.roles[i]['name'] == $.role) return Java.to([$.roles[i]], 'java.lang.Object[]')}"
|
"expression": "function f(){for(var i=0; i < $.roles.length;i++){if($.roles[i]['name'] == $.role) return Java.to([$.roles[i]], 'java.lang.Object[]')}} f()"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue