Description: Sample Groovy Script to update the revision notes after the document is uploaded.
Context: Document
Document Type: File
Remark: Accessible in 'Post' task mode only.
Script:
def execute(){
documentContext.getDocVO().revisionNotes = "Set Via Groovy Script";
documentService.updateDocument(documentContext);
}