ecm4u Policy Scripting

Document created by alfresco Employee on Jun 13, 2018
Version 1Show Document
  • View in full screen mode

With Alfresco you can link predefined actions to system events. Actions can be triggered, for example, when creating or deleting a document and can involve the setting of default values, sending of emails or the validation of property-values. The Policy Scripting module now lets you answer a system event with the execution of a script that is stored in the repository - a new, flexible and individual way of implementing actions. Supported events:

  • documents: created, deleted, changed
  • folder: created, deleted, changed
  • aspect: exerted, deleted
  • properties: when changed

Special features:

  • if required, the script can be executed with extended permissions (system-user or any other user-ID)
  • changing the script behaviour during run time without a restart of Alfresco
  • execution of script only if certain properties of a type or aspect have been changed

Example of a use case: A configurable JavaScript that is stored in the Alfresco Content Repository is executed as soon as an adjustable condition with regard to the meta data of a document is fulfilled. The JavaScript can, for example, change the permissions of a document and generate references in other directories. Due to its realization as JavaScript, the Alfresco administrator is enabled to adjust the execution logic without having to change or compile Java-code. The condition for this execution can be adjusted in a Spring-configuration without having to restart Alfresco. As distinguished to rules in Alfresco, ecm4u Policy Scripting makes use of the “behavior” functionality of Alfresco. It is linked to document types and aspects, with the effect that an automation is now independent of directory structures and based solely on document types. This not only meets the requirements of most processes in companies (such as the releases and life cycles of documents), but is also considerably more effective than working with Alfresco rules. Advantages of ecm4u Policy Scripting as compared to Alfresco rules:

  • no impairment of performance even with large databases
  • actions can optionally also be executed with system permissions in order to apply changes in areas where the particular user actually does not have the required permission to do so
  • trouble-free export and import of directories, since the logic is stored in JavaScript and SpringBean-configuration (by contrast, Alfresco rules are always included in an export)
  • simple and fast adjustments without compilation and rebooting through the usage of JavaScript
  • easy debugging

This and other modules can be ordered at the ecm Market, marketplace for Alfresco solutions. For information on updates and new releases follow us on Twitter or sign in for our newsletter.

 

Ownerecm4u-info@ecm4u.de 
Versions

Community 3.3.x

Community 3.4.x

 

Enterprise 3.4.x

Enterprise 4.0.x

License TypeProprietary
Project Pageecm4u PolicyScripting 
Download Page
Tags
Component Type
Extension Points
Installation
Products

Attachments

    Outcomes