von ecm4u GmbH


Compatibility Alfresco Community:
5.0.x, 4.2.x
Compatibility Alfresco Enterprise:
User Interface:
Explorer, Share
German, English
Operating System:
Linux, Windows, Windows 2003 Server, Windows 2008 Server

ecm4u PolicyScripting

Version: 1.5

ecm4u Policy Scripting allows to link scripts to certain important lifecycle events, such as the creation or deletion of documents (spaces), the (un-)assignment of aspects or the change of properties.

Incl. VAT
Incl. VAT
ecm4u PolicyScripting


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 (swapped out) 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


The benefits are obvious:

  • robust, comprehensible system
  • enhanced flexibility



The license allows installation of the module on a productive Alfresco repository with up to 2,000 registered users, a standby, test and development system.


Maintenance and Support

The purchasing price for this module includes one year of software maintenance (updates) and support by ecm4u GmbH. After one year 20% of the purchasing price are charged for maintenance and support per annum. Please find the details in the terms and conditions of ecm4u GmbH that are indicated during the purchase process in your cart.


Demo access

If you would like to test the module: Please do not hesitate to contact us!

Product Attachments

View FileProduktblatt-ecm4u-PolicyScripting    Size: (118.83 KB)

Customer Reviews

Write Your Own Review

Only registered users can write reviews. Please, log in or register