try with lambda

master
Marco Lettere 3 years ago
parent 6561d96531
commit 899621e6a3

@ -62,7 +62,7 @@
"type": "LAMBDA",
"inputParameters": {
"role": "${retrieve_member_role.output.body}",
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')}"
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')"
}
},
{
@ -77,7 +77,7 @@
"Content-type" : "application/json",
"Accept":"application/json"
},
"body" : "${to_array.output.result}"
"body" : "${to_role_array.output.result}"
}
}
]

@ -57,7 +57,8 @@
"headers" : {
"Authorization" : "Bearer ${authorize.output.body.access_token}",
"Content-Type" : "application/json"
}
},
"expect" : [200,204,201,409]
}
},
{

Loading…
Cancel
Save