Actions Concept
The action concept consists in activating an action when a JCR document is added, removed or read. There exist several types of action and it is quite simple to plug your own ones. By default eXo comes with two supported action types: Business Process (Bonita & JBPM)- Content Validation Process
- Content Backup Process
- Transform script: Microsoft Office and PDF documents to text
- An article writer creates the content from its home directory using the ECM explorer portlet and the dialog template. He could also attach some documents like PDF or Word ones (for example by using WebDAV to drop the files).
- After doing all the necessary modifications and versions on the document, he could copy and paste that article into the dedicated publication directory (in our sample it is the /cms/publications directory of the draft workspace). As an "add" action is bound to that directory, the content validation business process will be launched.
- Once one of the content validator will have accepted it and set up some publication dates and backup, then the document will be moved from the draft workspace to the production one. There it can be seen by the Content Browser portlet in the Reference or normal modes.
- When the node is moved to the production workspace (under the /cms/publications directory), a new business process is launched as that location also has an "add" action mapped to it. That action launches the 'back-up" business process which is responsible to move the content from the production workpsace to the backup one when the publication period ends.
on 22/08/2008 at 00:07