Skip to main content
All CollectionsSystem TasksWorking with Groovy ScriptsGroovy Script Library
Groovy Script - Update Revision Notes after Document uploaded
Groovy Script - Update Revision Notes after Document uploaded
Updated over a month ago

Description: Sample groovy script to update revision notes, after document 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?