This commit is contained in:
dcore94 2021-09-13 16:16:53 +02:00
parent a633d782a9
commit 609e239bc5
1 changed files with 2 additions and 2 deletions

View File

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