This commit is contained in:
dcore94 2021-09-13 16:20:09 +02:00
parent 609e239bc5
commit 20979d703f
1 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@
"name": "decision",
"taskReferenceName": "check_user_existance",
"inputParameters": {
"folders": "${check_folder.output.response.body}"
"folders": "${check_folder.output.response.body.itemlist}"
},
"type": "DECISION",
"caseExpression": "($.folders.length === 0 ? 'create' : 'exists')",
@ -97,8 +97,8 @@
"taskReferenceName": "extract_folder_id_2",
"type": "LAMBDA",
"inputParameters": {
"resp" : "${check_folder.output.response.body}",
"scriptExpression": "return { parent_folder_id : $.resp.itemlist[0].id}"
"resp" : "${check_folder.output.response.body.itemlist[0]}",
"scriptExpression": "return { parent_folder_id : $.resp.id}"
}
}
]