try with lambda

This commit is contained in:
Marco Lettere 2021-06-04 11:30:29 +02:00
parent d23b12de3c
commit 6561d96531
1 changed files with 9 additions and 0 deletions

View File

@ -55,6 +55,15 @@
"role": "${retrieve_member_role.output.body}",
"queryExpression" : "[.role]"
}
},
{
"name": "LAMBDA_TASK",
"taskReferenceName": "to_role_array",
"type": "LAMBDA",
"inputParameters": {
"role": "${retrieve_member_role.output.body}",
"scriptExpression": "return Java.to([$.role], 'java.lang.Object[]')}"
}
},
{
"name" : "pyrest",