15
Advanced Workflow for WCM March 19, 2009 Brian R. Robinson

Advanced Workflow for Alfresco Web Content Management

Embed Size (px)

DESCRIPTION

Alfresco's Advanced Workflow for Web Content ManagementIntroduces a review process by individuals, or groups. It allows different content to be reviewed by different people or groups. And advanced workflow consists of:1. Process definition2. Task model3. Resource bundle4. Web client configurationAlfresco Workflow is based on JBoss jBPM. And there are 3 levels of "workflow" in Alfresco: 1. Workflow Definition 2. Workflow Association 3. Workflow InstanceA workflow can be associated with a Web FormAssociation can be done via the Data DictionaryApplies to all Web Projects that use the Web FormOnce associated, the workflow’s default parameters can be overridden per Web ProjectWorkflow parameters are defined when a Web Form is associated with a Web ProjectAuto-submission to workflow upon web form submissionMore info:Group Submit Workflow and Expedited Workflow for WCM: https://issues.alfresco.com/jira/browse/ALFCOM-206Configurable E-Mail jBPM action:https://issues.alfresco.com/jira/browse/ALFCOM-2555Tech Talk Live – Episode 19 is on advanced workflow:http://wiki.alfresco.com/wiki/Live

Citation preview

Page 1: Advanced Workflow for Alfresco Web Content Management

Advanced Workflow for WCMMarch 19, 2009

Brian R. Robinson

Page 2: Advanced Workflow for Alfresco Web Content Management

Agenda

● Why “Advanced Workflow”?

● WCM Workflow Overview

● Workflow Content Models

● Group Assignment

● XML Forms & Workflow

● Configuration

● Extension points

● Q&A

Page 3: Advanced Workflow for Alfresco Web Content Management

Why Advanced Workflow?

● Introduce a review process● By individuals● By groups

● Different content to be reviewed by different people or groups● By content type● By path pattern● By file pattern

Page 4: Advanced Workflow for Alfresco Web Content Management

WCM Workflow Overview

● Based on JBoss jBPM

● There are 3 levels of "workflow" in Alfresco:

1. Workflow Definition

2. Workflow Association

3. Workflow Instance

Page 5: Advanced Workflow for Alfresco Web Content Management

WCM Workflow Overview

● Change Sets

● Workflow Sandbox

Page 6: Advanced Workflow for Alfresco Web Content Management

Workflow Content Models

● Metadata for tasks

● Task names == type names

Page 7: Advanced Workflow for Alfresco Web Content Management

Workflow Content Models

Page 8: Advanced Workflow for Alfresco Web Content Management

Workflow Content Models

Page 9: Advanced Workflow for Alfresco Web Content Management

Workflow Content Models

Page 10: Advanced Workflow for Alfresco Web Content Management

Workflow Content Models

Page 11: Advanced Workflow for Alfresco Web Content Management

XML Forms & Workflow

● A workflow can be associated with a Web Form

● Association can be done via the Data Dictionary● Applies to all Web Projects that use the Web Form

● Once associated, the workflow’s default parameters can be overridden per Web Project

● Workflow parameters are defined when a Web Form is associated with a Web Project

● Auto-submission to workflow upon web form submission

Page 12: Advanced Workflow for Alfresco Web Content Management

Configuration

● An advanced workflow consists of:

● Also needed: Spring configuration file● groupsubmit-workflow-context.xml shared/classes/alfresco/extension/

Process definition groupsubmit_processdefinition.xml shared/classes/alfresco/extension/workflow/group

Task model groupsubmit-content-model.xml shared/classes/alfresco/extension/workflow/group

Resource bundle groupsubmit-messages.properties shared/classes/alfresco/extension/workflow/group

Web client configuration web-client-config-custom.xmlOrweb-client-config-wcm.xml

shared/classes/alfresco/extensionOr/WEB-INF/classes/alfresco

Page 13: Advanced Workflow for Alfresco Web Content Management

Extending Workflow

● Javascript

● Java actions

● Workflow Service API/SPI

● Custom types

● jBPM API

Page 14: Advanced Workflow for Alfresco Web Content Management

Q&A

Page 15: Advanced Workflow for Alfresco Web Content Management

Resources

● Group Submit Workflow and Expedited Workflow for WCM: ● https://issues.alfresco.com/jira/browse/ALFCOM-206

● Configurable E-Mail jBPM action:● https://issues.alfresco.com/jira/browse/ALFCOM-2555

● Tech Talk Live – Episode 19 is on advanced workflow:● http://wiki.alfresco.com/wiki/Live