Difference between revisions of "Automation events table"

From OpenKM Documentation
Jump to: navigation, search
Line 101: Line 101:
 
|-
 
|-
 
|AutomationUtils.WIKIPAGE
 
|AutomationUtils.WIKIPAGE
 +
|X
 +
|X
 +
|6.5+
 +
|-
 +
|'''Post'''
 +
|
 +
|
 +
|
 +
|- style="color:green;"
 +
|'''Variable'''
 +
|'''For evaluation'''
 +
|'''For changing'''
 +
|
 +
|+
 +
|AutomationUtils.DOCUMENT_NODE
 +
|X
 +
|No
 +
|6.5+
 +
|}
 +
 +
 +
=== Move Document ===
 +
{| border="1" cellpadding="2" cellspacing="0"
 +
|'''Pre'''
 +
|
 +
|
 +
|'''Version'''
 +
|- style="color:green;"
 +
|'''Variable'''
 +
|'''For evaluation'''
 +
|'''For changing'''
 +
|
 +
|-
 +
|AutomationUtils.CATEGORIES
 
|X
 
|X
 
|X
 
|X

Revision as of 13:12, 10 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

Variable Object class
AutomationUtils.CATEGORIES Set<String>
AutomationUtils.CREATION_DATE Calendar
AutomationUtils.DOCUMENT_MIME_TYPE String
AutomationUtils.DOCUMENT_NAME String
AutomationUtils.KEYWORDS Set<String>
AutomationUtils.NOTES List<NodeNote>
AutomationUtils.PARENT_NODE NodeBase
AutomationUtils.PROPERTY_GROUPS Set<NodeProperty>
AutomationUtils.TITLE String
AutomationUtils.WIKIPAGE WikiPage


Create Document

Pre Version
Variable For evaluation For changing
AutomationUtils.CATEGORIES X X 6.5+
AutomationUtils.CREATION_DATE X No 6.5+
AutomationUtils.DOCUMENT_NAME X X 6.5+
AutomationUtils.DOCUMENT_MIME_TYPE X X 6.5+
AutomationUtils.KEYWORDS X X 6.5+
AutomationUtils.NOTES X X 6.5+
AutomationUtils.PARENT_NODE X X 6.5+
AutomationUtils.PROPERTY_GROUPS X X 6.5+
AutomationUtils.TITLE X X 6.5+
AutomationUtils.WIKIPAGE X X 6.5+
Post
Variable For evaluation For changing
AutomationUtils.DOCUMENT_NODE X No 6.5+


Move Document

Pre Version
Variable For evaluation For changing
AutomationUtils.CATEGORIES X X 6.5+
Post
Variable For evaluation For changing
AutomationUtils.DOCUMENT_NODE X No 6.5+