Skip to main content

Groovy Script - Update the Revision Notes after the Document is Uploaded

Updated over 2 months ago

Description: Sample Groovy script to update the revision notes, after the document is uploaded.

Context: Document

Remark: Accessible in 'Post' task mode only.

Script:

def execute(){

documentContext.getDocVO().revisionNotes = "Set Via Groovy Script";

documentService.updateDocument(documentContext);

}



Did this answer your question?