Difference between revisions of "Extend automation 6.0"

From OpenKM Documentation
Jump to: navigation, search
Line 12: Line 12:
 
[[File:Okm_admin_075.png|center]]
 
[[File:Okm_admin_075.png|center]]
  
'''Order''' field indicates execution preference among the other rules.
+
* '''Order''' field indicates execution preference among the other rules.
'''Name''' field is some name to identify the rule.
+
* '''Name''' field is some name to identify the rule.
'''Event''' field indicates on which type of events is evaluted the rule.
+
* '''Event''' field indicates on which type of events is evaluted the rule.
'''At''' field has two possible values post or pre. '''post''' indicates before element is created at OpenKM, '''pre''' indicates when element is yet created. With example will be more clear, with '''post''' we can change the path where a document will be created, with '''pre''' the document is yet created but we can move to other path.
+
* '''At''' field has two possible values post or pre. '''post''' indicates before element is created at OpenKM, '''pre''' indicates when element is yet created. With example will be more clear, with '''post''' we can change the path where a document will be created, with '''pre''' the document is yet created but we can move to other path.
  
  
  
 
[[Category: Extension Guide]]
 
[[Category: Extension Guide]]

Revision as of 19:58, 1 November 2012

OpenKM automation by default is not enabled to enable it you should execute some sql queries to enable it.

Refer to Automation section to configure automation rules in your OpenKM.

Refer to Extend automation to extend automation validators and actions.

Okm admin 074.png

Add new rule

Click New.png will be shown a screen like this:

Okm admin 075.png
  • Order field indicates execution preference among the other rules.
  • Name field is some name to identify the rule.
  • Event field indicates on which type of events is evaluted the rule.
  • At field has two possible values post or pre. post indicates before element is created at OpenKM, pre indicates when element is yet created. With example will be more clear, with post we can change the path where a document will be created, with pre the document is yet created but we can move to other path.