moved from decision to switch for compatibility with new conductor

master
Marco Lettere 7 months ago
parent 347476e792
commit 7dadef708e

@ -55,7 +55,7 @@
"foundusers": "${lookup_user.output.body}",
"username": "${workflow.input.user}",
"evaluatorType" : "javascript",
"expression": "function(){for(var i=0; i < $.foundusers.length;i++){if($.foundusers[i]['username'] == $.username) return Java.to([$.foundusers[i]], 'java.lang.Object[]')}} f()"
"expression": "function f(){for(var i=0; i < $.foundusers.length;i++){if($.foundusers[i]['username'] == $.username) return Java.to([$.foundusers[i]], 'java.lang.Object[]')}} f()"
},
"type": "INLINE"
},

Loading…
Cancel
Save