Difference between revisions of "Automation events table"

From OpenKM Documentation
Jump to: navigation, search
(Create Document)
Line 16: Line 16:
 
|
 
|
 
|'''Version'''
 
|'''Version'''
|-
+
|- style="color:green;"
 
|'''For evaluation'''
 
|'''For evaluation'''
 
|'''For changing'''
 
|'''For changing'''
Line 37: Line 37:
 
|6.5+
 
|6.5+
 
|+
 
|+
|Post
+
|'''Post'''
 
|
 
|
 
|
 
|

Revision as of 13:45, 8 January 2014


Nota advertencia.png Under construction

Events can be pre ( previously ) and post ( posterior ). For example pre document creation event, will be executed before document creation and then can be changed several event vars to change parent folder, document name among others. In case post document creation event, will be executed after document creation. In this case there're no associated vars to the event you'll get NodeDocument object to apply directly any change across OpenKM API.

Available environment variables

  • AutomationUtils.PARENT_NODE ( changes parent node )
  • AutomationUtils.DOCUMENT_NAME ( changes document name )
  • AutomationUtils.DOCUMENT_MIME_TYPE ( changes document mime-type )
  • AutomationUtils.DOCUMENT_KEYWORDS ( document list of keyword )

Create Document

Pre Version
For evaluation For changing
AutomationUtils.PARENT_NODE 6.5+
AutomationUtils.DOCUMENT_NAME 6.5+
AutomationUtils.DOCUMENT_MIME_TYPE 6.5+
AutomationUtils.DOCUMENT_KEYWORDS 6.5+
Post
AutomationUtils.DOCUMENT_NODE