moved from decision to switch for compatibility with new conductor
This commit is contained in:
parent
1ed26efdb8
commit
e0a5c8beac
|
@ -7,7 +7,7 @@ workflows:
|
|||
# - group_created
|
||||
# - invitation-accepted
|
||||
# - user-group_deleted
|
||||
- user-group-role_deleted
|
||||
# - user-group-role_deleted
|
||||
# - delete-user-account
|
||||
# - role_deleted
|
||||
# - role_created
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"inputParameters": {
|
||||
"foundusers" : "${lookup_user.output.body}",
|
||||
"username" : "${workflow.input.user}",
|
||||
"expression": "function f(){for(var i=0; i < $.foundusers.length;i++){if($.foundusers[i]['username'] == $.username) return $.foundusers[i] } f()",
|
||||
"expression": "function f(){for(var i=0; i < $.foundusers.length;i++){if($.foundusers[i]['username'] == $.username) return $.foundusers[i]}} f()",
|
||||
"evaluatorType" : "javascript"
|
||||
},
|
||||
"type": "INLINE"
|
||||
|
|
Loading…
Reference in New Issue