Hello
I have a process with a document list. The document list is created on the instantiaction form.
In one of the human tasks a user should be able to view / add / delete his documents. I first changed formInput to a Javascript expression to get the documents from the context (and other REST API variables):
return {
"marchePublicRequestInput": $data.marchePublicRequest,
"newStatus": "resend",
"piecesJointesInput": $data.context.piecesJointes_ref
}
I also have an empty JSON object newDocuments