Difference between revisions of "Automation events table"
From OpenKM Documentation
Sochoa.gmd (talk | contribs) (→Property Group ( metadata )) |
|||
(50 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} __TOC__ | {{TOCright}} __TOC__ | ||
− | |||
− | |||
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. | 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. | ||
Line 10: | Line 8: | ||
|'''Variable''' | |'''Variable''' | ||
|'''Object class''' | |'''Object class''' | ||
− | |Description | + | |'''Description''' |
|- | |- | ||
|AutomationUtils.CATEGORIES | |AutomationUtils.CATEGORIES | ||
Line 20: | Line 18: | ||
|Creation date | |Creation date | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|NodeFolder | |NodeFolder | ||
|Destination folder | |Destination folder | ||
Line 31: | Line 29: | ||
|NodeDocument | |NodeDocument | ||
|Document node | |Document node | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NAME | ||
+ | |String | ||
+ | |Document name | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_VERSION | ||
+ | |String | ||
+ | |Document version | ||
+ | |- | ||
+ | |AutomationUtils.FILE | ||
+ | |File | ||
+ | |Document file | ||
|- | |- | ||
|AutomationUtils.FOLDER_NODE | |AutomationUtils.FOLDER_NODE | ||
Line 39: | Line 49: | ||
|Set<String> | |Set<String> | ||
|List of keywords | |List of keywords | ||
+ | |- | ||
+ | |AutomationUtils.LINK_NODE | ||
+ | |NodeLink | ||
+ | |Link node | ||
|- | |- | ||
|AutomationUtils.MAIL_NODE | |AutomationUtils.MAIL_NODE | ||
Line 47: | Line 61: | ||
|String | |String | ||
|Name | |Name | ||
+ | |- | ||
+ | |AutomationUtils.NODE_CLASS | ||
+ | |Long | ||
+ | |The NodeClass id | ||
|- | |- | ||
|AutomationUtils.MAIL_BCC | |AutomationUtils.MAIL_BCC | ||
Line 83: | Line 101: | ||
|String[] | |String[] | ||
|Mail to | |Mail to | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |NodeBase ( NodeDocument, NodeFolder, NodeMail and NodeRecord extends from NodeBase) | ||
+ | |Node base | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE_LIST | ||
+ | |List<NodeBase> ( NodeDocument, NodeFolder, NodeMail and NodeRecord extends from NodeBase) | ||
+ | |Node base list | ||
|- | |- | ||
|AutomationUtils.NOTES | |AutomationUtils.NOTES | ||
|List<NodeNote> | |List<NodeNote> | ||
|List of notes | |List of notes | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |String | ||
+ | |Property group name | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_PROPERTIES | ||
+ | |Map<String, String> | ||
+ | |Property group properties | ||
|- | |- | ||
|AutomationUtils.PROPERTY_GROUPS | |AutomationUtils.PROPERTY_GROUPS | ||
Line 95: | Line 129: | ||
|NodeRecord | |NodeRecord | ||
|Record node | |Record node | ||
+ | |- | ||
+ | |AutomationUtils.TEXT_EXTRACTED | ||
+ | |String | ||
+ | |Document text extracted | ||
|- | |- | ||
|AutomationUtils.TITLE | |AutomationUtils.TITLE | ||
Line 104: | Line 142: | ||
|The wiki page | |The wiki page | ||
|} | |} | ||
− | |||
== Document == | == Document == | ||
Line 129: | Line 166: | ||
|6.5+ | |6.5+ | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|X | |X | ||
|X | |X | ||
Line 135: | Line 172: | ||
|- | |- | ||
|AutomationUtils.NAME | |AutomationUtils.NAME | ||
+ | |X | ||
+ | |X | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.NODE_CLASS | ||
|X | |X | ||
|X | |X | ||
Line 178: | Line 220: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.DOCUMENT_NODE | |AutomationUtils.DOCUMENT_NODE | ||
|X | |X | ||
Line 185: | Line 227: | ||
|} | |} | ||
+ | === Delete Document === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Rename Document === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
=== Move Document === | === Move Document === | ||
Line 203: | Line 310: | ||
|6.5+ | |6.5+ | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|X | |X | ||
|X | |X | ||
Line 217: | Line 324: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.DOCUMENT_NODE | |AutomationUtils.DOCUMENT_NODE | ||
|X | |X | ||
Line 223: | Line 330: | ||
|6.5+ | |6.5+ | ||
|} | |} | ||
− | |||
=== Update Document === | === Update Document === | ||
Line 251: | Line 357: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.DOCUMENT_NODE | |AutomationUtils.DOCUMENT_NODE | ||
|X | |X | ||
Line 258: | Line 364: | ||
|} | |} | ||
+ | === Download Document from UI=== | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NAME | ||
+ | |X | ||
+ | |Yes | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_VERSION | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_VERSION | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | === Download Document from UI for preview === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_VERSION | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_VERSION | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
== Folder == | == Folder == | ||
Line 282: | Line 494: | ||
|6.5+ | |6.5+ | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|X | |X | ||
|X | |X | ||
Line 322: | Line 534: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.FOLDER_NODE | |AutomationUtils.FOLDER_NODE | ||
|X | |X | ||
Line 329: | Line 541: | ||
|} | |} | ||
+ | === Delete Folder === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | === Export Folder as ZIP === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Export Folder as JAR === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.FOLDER_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | == Link == | ||
+ | === Create link === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DESTINATION_NODE | ||
+ | |X | ||
+ | |X | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.LINK_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
== Mail == | == Mail == | ||
Line 348: | Line 696: | ||
|6.5+ | |6.5+ | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|X | |X | ||
|X | |X | ||
Line 404: | Line 752: | ||
|- | |- | ||
|AutomationUtils.KEYWORDS | |AutomationUtils.KEYWORDS | ||
+ | |X | ||
+ | |X | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.TITLE | ||
|X | |X | ||
|X | |X | ||
Line 417: | Line 770: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.MAIL_NODE | |AutomationUtils.MAIL_NODE | ||
|X | |X | ||
Line 424: | Line 777: | ||
|} | |} | ||
+ | === Download mail from UI === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.MAIL_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.MAIL_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
== Record == | == Record == | ||
Line 438: | Line 823: | ||
| | | | ||
|- | |- | ||
− | |AutomationUtils. | + | |AutomationUtils.DESTINATION_NODE |
|X | |X | ||
|X | |X | ||
Line 444: | Line 829: | ||
|- | |- | ||
|AutomationUtils.NAME | |AutomationUtils.NAME | ||
+ | |X | ||
+ | |X | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.NODE_CLASS | ||
|X | |X | ||
|X | |X | ||
Line 462: | Line 852: | ||
|'''For changing''' | |'''For changing''' | ||
| | | | ||
− | | | + | |- |
|AutomationUtils.RECORD_NODE | |AutomationUtils.RECORD_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | === Delete Record === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.RECORD_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.RECORD_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | == Property Group ( metadata ) == | ||
+ | === Add property group === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Set property group properties === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_PROPERTIES | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_PROPERTIES | ||
|X | |X | ||
|No | |No | ||
Line 469: | Line 988: | ||
|} | |} | ||
+ | === Remove property group === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.PROPERTY_GROUP_NAME | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | == General == | ||
+ | === Text extraction === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.TEXT_EXTRACTED | ||
+ | |X | ||
+ | |X | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Convert to pdf === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.FILE (original) | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.FILE (converted to pdf) | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Convert to swf === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.FILE (original) | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |AutomationUtils.FILE (converted to pdf) | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | [[Category: Administration Guide]] | ||
+ | |||
+ | === Print document === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.DOCUMENT_NODE | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
+ | |||
+ | === Export nodes to zip === | ||
+ | {| border="1" cellpadding="2" cellspacing="0" | ||
+ | |'''Pre''' | ||
+ | | | ||
+ | | | ||
+ | |'''Version''' | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE_LIST | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |- | ||
+ | |'''Post''' | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | |- style="color:green;" | ||
+ | |'''Variable''' | ||
+ | |'''For evaluation''' | ||
+ | |'''For changing''' | ||
+ | | | ||
+ | |- | ||
+ | |AutomationUtils.NODE_BASE_LIST | ||
+ | |X | ||
+ | |No | ||
+ | |6.5+ | ||
+ | |} | ||
[[Category: Administration Guide]] | [[Category: Administration Guide]] |
Latest revision as of 06:15, 19 August 2016
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 | Description |
AutomationUtils.CATEGORIES | Set<String> | List of categories |
AutomationUtils.CREATION_DATE | Calendar | Creation date |
AutomationUtils.DESTINATION_NODE | NodeFolder | Destination folder |
AutomationUtils.MIME_TYPE | String | Mime type |
AutomationUtils.DOCUMENT_NODE | NodeDocument | Document node |
AutomationUtils.DOCUMENT_NAME | String | Document name |
AutomationUtils.DOCUMENT_VERSION | String | Document version |
AutomationUtils.FILE | File | Document file |
AutomationUtils.FOLDER_NODE | NodeFolder | Folder node |
AutomationUtils.KEYWORDS | Set<String> | List of keywords |
AutomationUtils.LINK_NODE | NodeLink | Link node |
AutomationUtils.MAIL_NODE | NodeMail | Mail node |
AutomationUtils.NAME | String | Name |
AutomationUtils.NODE_CLASS | Long | The NodeClass id |
AutomationUtils.MAIL_BCC | String[] | Mail bcc |
AutomationUtils.MAIL_CC | String[] | Mail cc |
AutomationUtils.MAIL_CONTENT | String | Mail content |
AutomationUtils.MAIL_FROM | String | Mail from |
AutomationUtils.MAIL_RECEIVED_DATE | Calendar | Mail received date |
AutomationUtils.MAIL_REPLY | String[] | Mail reply |
AutomationUtils.MAIL_SENT_DATE | Calendar | Mail sent date |
AutomationUtils.MAIL_SUBJECT | String | Mail subject |
AutomationUtils.MAIL_TO | String[] | Mail to |
AutomationUtils.NODE_BASE | NodeBase ( NodeDocument, NodeFolder, NodeMail and NodeRecord extends from NodeBase) | Node base |
AutomationUtils.NODE_BASE_LIST | List<NodeBase> ( NodeDocument, NodeFolder, NodeMail and NodeRecord extends from NodeBase) | Node base list |
AutomationUtils.NOTES | List<NodeNote> | List of notes |
AutomationUtils.PROPERTY_GROUP_NAME | String | Property group name |
AutomationUtils.PROPERTY_GROUP_PROPERTIES | Map<String, String> | Property group properties |
AutomationUtils.PROPERTY_GROUPS | Set<NodeProperty> | List of property groups ( metadata groups ) |
AutomationUtils.RECORD_NODE | NodeRecord | Record node |
AutomationUtils.TEXT_EXTRACTED | String | Document text extracted |
AutomationUtils.TITLE | String | Title |
AutomationUtils.WIKIPAGE | WikiPage | The wiki page |
Document
Create Document
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.CATEGORIES | X | X | 6.5+ |
AutomationUtils.CREATION_DATE | X | No | 6.5+ |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
AutomationUtils.NAME | X | X | 6.5+ |
AutomationUtils.NODE_CLASS | X | X | 6.5+ |
AutomationUtils.MIME_TYPE | X | X | 6.5+ |
AutomationUtils.KEYWORDS | X | X | 6.5+ |
AutomationUtils.NOTES | 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+ |
Delete Document
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Rename Document
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 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.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Update Document
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Download Document from UI
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.DOCUMENT_NAME | X | Yes | 6.5+ |
AutomationUtils.DOCUMENT_VERSION | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.DOCUMENT_NAME | X | No | 6.5+ |
AutomationUtils.DOCUMENT_VERSION | X | No | 6.5+ |
Download Document from UI for preview
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.DOCUMENT_NAME | X | No | 6.5+ |
AutomationUtils.DOCUMENT_VERSION | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.DOCUMENT_NAME | X | No | 6.5+ |
AutomationUtils.DOCUMENT_VERSION | X | No | 6.5+ |
Folder
Create folder
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.CATEGORIES | X | X | 6.5+ |
AutomationUtils.CREATION_DATE | X | No | 6.5+ |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
AutomationUtils.NAME | X | X | 6.5+ |
AutomationUtils.KEYWORDS | X | X | 6.5+ |
AutomationUtils.NOTES | X | X | 6.5+ |
AutomationUtils.PROPERTY_GROUPS | X | X | 6.5+ |
AutomationUtils.WIKIPAGE | X | X | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Delete Folder
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Export Folder as ZIP
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Export Folder as JAR
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.FOLDER_NODE | X | No | 6.5+ |
Link
Create link
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.LINK_NODE | X | No | 6.5+ |
Create mail
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.CATEGORIES | X | X | 6.5+ |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
AutomationUtils.MAIL_BCC | X | No | 6.5+ |
AutomationUtils.MAIL_CC | X | No | 6.5+ |
AutomationUtils.MAIL_CONTENT | X | No | 6.5+ |
AutomationUtils.MAIL_FROM | X | No | 6.5+ |
AutomationUtils.MAIL_RECEIVED_DATE | X | No | 6.5+ |
AutomationUtils.MAIL_REPLY | X | No | 6.5+ |
AutomationUtils.MAIL_SENT_DATE | X | No | 6.5+ |
AutomationUtils.MAIL_SUBJECT | X | No | 6.5+ |
AutomationUtils.MAIL_TO | X | No | 6.5+ |
AutomationUtils.NAME | X | X | 6.5+ |
AutomationUtils.KEYWORDS | X | X | 6.5+ |
AutomationUtils.TITLE | X | X | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.MAIL_NODE | X | No | 6.5+ |
Download mail from UI
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.MAIL_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.MAIL_NODE | X | No | 6.5+ |
Record
Create record
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DESTINATION_NODE | X | X | 6.5+ |
AutomationUtils.NAME | X | X | 6.5+ |
AutomationUtils.NODE_CLASS | X | X | 6.5+ |
AutomationUtils.TITLE | X | X | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.RECORD_NODE | X | No | 6.5+ |
Delete Record
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.RECORD_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.RECORD_NODE | X | No | 6.5+ |
Property Group ( metadata )
Add property group
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
Set property group properties
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_PROPERTIES | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_PROPERTIES | X | No | 6.5+ |
Remove property group
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE | X | No | 6.5+ |
AutomationUtils.PROPERTY_GROUP_NAME | X | No | 6.5+ |
General
Text extraction
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.TEXT_EXTRACTED | X | X | 6.5+ |
Convert to pdf
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.FILE (original) | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.FILE (converted to pdf) | X | No | 6.5+ |
Convert to swf
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.FILE (original) | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
AutomationUtils.FILE (converted to pdf) | X | No | 6.5+ |
Print document
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.DOCUMENT_NODE | X | No | 6.5+ |
Export nodes to zip
Pre | Version | ||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE_LIST | X | No | 6.5+ |
Post | |||
Variable | For evaluation | For changing | |
AutomationUtils.NODE_BASE_LIST | X | No | 6.5+ |