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
|
# - group_created
|
||||||
# - invitation-accepted
|
# - invitation-accepted
|
||||||
# - user-group_deleted
|
# - user-group_deleted
|
||||||
- user-group-role_deleted
|
# - user-group-role_deleted
|
||||||
# - delete-user-account
|
# - delete-user-account
|
||||||
# - role_deleted
|
# - role_deleted
|
||||||
# - role_created
|
# - role_created
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
"inputParameters": {
|
"inputParameters": {
|
||||||
"foundusers" : "${lookup_user.output.body}",
|
"foundusers" : "${lookup_user.output.body}",
|
||||||
"username" : "${workflow.input.user}",
|
"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"
|
"evaluatorType" : "javascript"
|
||||||
},
|
},
|
||||||
"type": "INLINE"
|
"type": "INLINE"
|
||||||
|
|
Loading…
Reference in New Issue