fixes
This commit is contained in:
parent
609e239bc5
commit
20979d703f
|
@ -57,7 +57,7 @@
|
||||||
"name": "decision",
|
"name": "decision",
|
||||||
"taskReferenceName": "check_user_existance",
|
"taskReferenceName": "check_user_existance",
|
||||||
"inputParameters": {
|
"inputParameters": {
|
||||||
"folders": "${check_folder.output.response.body}"
|
"folders": "${check_folder.output.response.body.itemlist}"
|
||||||
},
|
},
|
||||||
"type": "DECISION",
|
"type": "DECISION",
|
||||||
"caseExpression": "($.folders.length === 0 ? 'create' : 'exists')",
|
"caseExpression": "($.folders.length === 0 ? 'create' : 'exists')",
|
||||||
|
@ -97,8 +97,8 @@
|
||||||
"taskReferenceName": "extract_folder_id_2",
|
"taskReferenceName": "extract_folder_id_2",
|
||||||
"type": "LAMBDA",
|
"type": "LAMBDA",
|
||||||
"inputParameters": {
|
"inputParameters": {
|
||||||
"resp" : "${check_folder.output.response.body}",
|
"resp" : "${check_folder.output.response.body.itemlist[0]}",
|
||||||
"scriptExpression": "return { parent_folder_id : $.resp.itemlist[0].id}"
|
"scriptExpression": "return { parent_folder_id : $.resp.id}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue