Verify how many files in Document content in pure Studio/Automation

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??

0 votes

0 answers

1898 views

ANSWER

First of all, as I said, I'm trying to get the Document content as following (by MVEL expresion):

@{Document["file:content"]}

But it's not working.

02/20/2014