0% found this document useful (0 votes)
158 views16 pages

Nicolas Modrzyk With The Help of James Urquhart at Alfresco: 1 Intalio, Leader in Open Source BPM

Nicolas Modrzyk gave a presentation on integrating Intalio's business process management capabilities with the Alfresco content management system. The presentation covered creating custom nodes and behaviors in Alfresco, developing custom actions, using Alfresco web scripts to access the repository programmatically, and authenticating users and propagating their information. Modrzyk demonstrated how workflows could be started automatically in response to documents being stored in Alfresco. He discussed opportunities to manage Alfresco content from external systems and automate document handling through custom aspects and behaviors.

Uploaded by

GURUMS
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
158 views16 pages

Nicolas Modrzyk With The Help of James Urquhart at Alfresco: 1 Intalio, Leader in Open Source BPM

Nicolas Modrzyk gave a presentation on integrating Intalio's business process management capabilities with the Alfresco content management system. The presentation covered creating custom nodes and behaviors in Alfresco, developing custom actions, using Alfresco web scripts to access the repository programmatically, and authenticating users and propagating their information. Modrzyk demonstrated how workflows could be started automatically in response to documents being stored in Alfresco. He discussed opportunities to manage Alfresco content from external systems and automate document handling through custom aspects and behaviors.

Uploaded by

GURUMS
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 16

Nicolas Modrzyk

[email protected]

With the help of James Urquhart @ Alfresco

CONFIDENTIAL Intalio, Leader in Open Source BPM 1


Agenda

1 Vision
2 One example I like
3 Creating custom nodes
4 Creating custom behaviors
5 Creating custom actions
6 Alfresco webscripts
7 What can we add ?
8 What can of documents ?
9 Authentication, propagation of users
10 Demo

CONFIDENTIAL Intalio, Leader in Open Source BPM 2


Alfresco – Powering content

CONFIDENTIAL Intalio, Leader in Open Source BPM 3


One personal Alfresco sample I like (I)

 http://www.techbits.de/2007/03/02/integrating-freemind-documents-into-
alfresco/

CONFIDENTIAL Intalio, Leader in Open Source BPM 4


One personal Alfresco example I like (II)

Add a mime type


Add icons to Freemind
documents
Add a freemind preview
template
Template can be edited
straight from the UI
Use this template as a
custom view

CONFIDENTIAL Intalio, Leader in Open Source BPM 5


Metadata, aspects and custom behavior

Creating custom nodes


 http://wiki.alfresco.com/wiki/Step-By-Step:_Creating_A_Custom_Model
http://ecmarchitect.com/images/articles/alfresco-content/content-article.pdf

Custom behaviors:
 You may find that your custom aspect or custom type needs to have behavior or business logic 
associated with it. For example, every time an Expense Report is checked in you want to recalculate the 
total by iterating through the associated Expenses. One option would be to incorporate this logic into 
rules or actions in the Alfresco web client or your custom web application. But some behavior is so 
fundamental to the aspect or type that it should really be “bound” to the aspect or type and invoked any
 
time Alfresco works with those objects. You should know that associating business logic with your custom
 aspects and types (or over riding out­of­the­box  behavior) is possible.

CONFIDENTIAL Intalio, Leader in Open Source BPM 6


Metadata, aspects and custom behavior (2)

 A new content model could be adopted to create a new meta-data extractor such as ones already
defined inside the Alfresco platform.

 Each file we upload to the Alfresco repository has its own meta-data: meta-data is a particular kind of
information, associated to files, describing the file itself. For example, title, author, creation date,
name are default meta-data associated to files. They describe the main characteristics of the file.

 Obviously not the same meta-data is associated to different files (for example, an MP3 file has many
attributes such as an album title, a song title, an artist, a genre, a composer and so on). These meta-
data are quite different from a Word file. When an MP3 player loads an MP3 file, it tries to extract all
the known meta-data and visualize them to the user. The same is done in a similar way by Alfresco.
When a file is uploaded to the repository, a meta-data extractor - if explicitly associated to that file -
tries to extract specific meta-data and load values associated to meta-data. The meta-data properties
are then visualized by Alfresco into the web browser.

 Once meta-data associated to files is extracted, the user is allowed to execute advanced searches in
Alfresco using just these meta-data: each meta-data could be used as a filter to execute queries against
the repository.
 Custom nodes also includes custom behaviors

CONFIDENTIAL Intalio, Leader in Open Source BPM 7


Custom actions

http://wiki.alfresco.com/wiki/Custom_Actio
ns
Bit like a mini-workflow
For example, convert a .doc file to a .pdf
Call a web services …

CONFIDENTIAL Intalio, Leader in Open Source BPM 8


Alfresco web scripts

1. The URL containing the request arrives at the Web


Script REST dispatcher.
2. The dispatcher finds the appropriate web script for the
URL. If one is found, the dispatcher executes the web
script but only after successfully authenticating first, if
required. The first step of execution is to invoke the
Javascript bound into the web script.
3. With Javascript, you have access to the full set of Alfresco
repository content services. You can search for
information, navigate around the repository, modify
information, create new documents, set properties on
those documents, move data around, and delete data. In
addition, you can implement security policies.
4. The results from the Javascript are rendered using
FreeMarker response templates. The response format can
be HTML, ATOM, XML, RSS, JSON, CSV, or any
combination of these. You must provide the appropriate
templates.
5. The web script REST dispatcher sends the rendered results
back via a response using the same protocol as URL
request.
6. The web script client receives the response in the request
format.

CONFIDENTIAL Intalio, Leader in Open Source BPM 9


Alfresco web scripts

We can …
Have access to the whole Alfresco API
Define our own REST services and manipulate
them from the process or the workflow
Authenticated calls
Easily testable and redeployable

CONFIDENTIAL Intalio, Leader in Open Source BPM 10


What can we add ?

Manage Alfresco from the outside


Access it through custom web scripts
Automate document managements with
custom aspects, and behavior
Start a personalized intalio workflow when a
document is stored into Alfresco

CONFIDENTIAL Intalio, Leader in Open Source BPM 11


What kind of documents Intalio can store in Alfresco ?

Proper Workflow documents


- Specification review when starting new
projects
- Resume review when hiring
Different workflow artifacts
- forms (directly editable in for deployment)
- event better, the document is the
interaction with the user

CONFIDENTIAL Intalio, Leader in Open Source BPM 12


Authentication and propagation of users

Keeping track of the associated user that


uploaded a document
Tempo Task Attachment Service is a simple
RESTful storage for documents.
Add/Delete
Works with a document URL
http://localhost:8080/alfresco/d/d/workspa
ce/SpacesStore/3af6a8df-3c40-11dd-bdb6-
43bd6777190a/Alfresco-Tutorial.pdf

CONFIDENTIAL Intalio, Leader in Open Source BPM 13


Demo

CONFIDENTIAL Intalio, Leader in Open Source BPM 14


How we would use Alfresco ?

Use Alfresco with very little user ui


CASified alfresco portlet that shows
your documents
Access the documents throught
different point of access (CIFS,
FTP ..)
Have it start process and react to
document storage events, including
starting process or calling workflow
apis.
CONFIDENTIAL Intalio, Leader in Open Source BPM 15
Thank you !!

Now’s is the perfect time to ask plenty of


questions …

What you think is important


(speak your mind.)
CONFIDENTIAL Intalio, Leader in Open Source BPM 16

You might also like