I have a Workflow Task.
This Task(Workflow Node) has a button "Done".
When the user push the button "Done", this Task verifies if the currentDocument has some File in a file content.
If it's false, we have do raise a Error Message and restart the Task (Node).
I've tried it a lot, but I've didn't found in a Nuxeo documentation.
I don't know how to get the Document content value and how to restart the Task (Node).
Please, some help??