• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
TSB Alfresco Cobrand White tagline

Technology Services Group

  • Home
  • Products
    • Alfresco Enterprise Viewer
    • OpenContent Search
    • OpenContent Case
    • OpenContent Forms
    • OpenMigrate
    • OpenContent Web Services
    • OpenCapture
    • OpenOverlay
  • Solutions
    • Alfresco Content Accelerator for Claims Management
      • Claims Demo Series
    • Alfresco Content Accelerator for Policy & Procedure Management
      • Compliance Demo Series
    • OpenContent Accounts Payable
    • OpenContent Contract Management
    • OpenContent Batch Records
    • OpenContent Government
    • OpenContent Corporate Forms
    • OpenContent Construction Management
    • OpenContent Digital Archive
    • OpenContent Human Resources
    • OpenContent Patient Records
  • Platforms
    • Alfresco Consulting
      • Alfresco Case Study – Canadian Museum of Human Rights
      • Alfresco Case Study – New York Philharmonic
      • Alfresco Case Study – New York Property Insurance Underwriting Association
      • Alfresco Case Study – American Society for Clinical Pathology
      • Alfresco Case Study – American Association of Insurance Services
      • Alfresco Case Study – United Cerebral Palsy
    • HBase
    • DynamoDB
    • OpenText & Documentum Consulting
      • Upgrades – A Well Documented Approach
      • Life Science Solutions
        • Life Sciences Project Sampling
    • Veeva Consulting
    • Ephesoft
    • Workshare
  • Case Studies
    • White Papers
    • 11 Billion Document Migration
    • Learning Zone
    • Digital Asset Collection – Canadian Museum of Human Rights
    • Digital Archive and Retrieval – ASCP
    • Digital Archives – New York Philharmonic
    • Insurance Claim Processing – New York Property Insurance
    • Policy Forms Management with Machine Learning – AAIS
    • Liferay and Alfresco Portal – United Cerebral Palsy of Greater Chicago
  • About
    • Contact Us
  • Blog

Activiti BPM Engine – Active Wizard 5.0

You are here: Home / Activiti / Activiti BPM Engine – Active Wizard 5.0

November 13, 2012

As mentioned in our previous post about managing controlled documents in Alfresco, Active Wizard 5.0 utilizes the Activiti BPM platform for dynamic workflow processes.  If you’re curious about how dynamic workflow works in the Active Wizard, check out this post from earlier this year, which we wrote after we had posted our initial thoughts about Activiti.  In this post, we will review how Dynamic workflow has worked in the Active Wizard in the past, and contrast that to how we’re using Activiti in Active Wizard 5.0.

If you’re interested in a live demo of Active Wizard 5.0, check out the following screencams in the TSG Learning Zone:

  • Active Wizard 5.0 Preview – Change Request
  • Active Wizard 5.0 Preview – Controlled Documents

Active Wizard 3.4 to 4.0 – Dynamic Workflow with Documentum

In 2004, TSG developed the first iteration of the dynamic workflow module in the Active Wizard’s  3.4 release.  At the time, jBPM and Documentum BPM were in their infancy, and frameworks like Activiti did not exist.  So we built the workflow on Documentum’s standard workflow engine, which made sense since, at the time, Active Wizard was built on top of Documentum.  The first design decision we had to make was how to structure the workflow template.  For the reasons mention in this post, we chose to implement  dynamic workflow by building the workflow template on the fly each time a workflow was started.  This approach was great because we could handle an infinite number of workflow configurations, while also handling any requirement changes in the business rules rather than requiring any updates to the underlying workflow template.  There are a few downsides with this approach, however:

  • A new template is created when a workflow starts, and is orphaned when the workflow ends.  This limitation is easily mitigated.  We simply include a job that cleans up orphaned templates each night.
  • User-based, group-based, and automatic activities cannot be executed in parallel.  In other words, you cannot send a task to a user and a group at the same time.  We could have accounted for this, but the order of magnitude change in complexity on the infinite possibilities of workflow templates to generate did not pass the cost/benefit analysis.
  • New templates limit reporting capabilities.  Since we are generating a template each time, there is no way to report by workflow template.  Cycle time reporting can be done, however, based on document metadata like creation date, approved date, etc.

Active Wizard 5.0 – Dynamic Workflow with Activiti

Dynamic workflow in Active Wizard for Alfresco was built from the ground up using the Activiti workflow engine included with Alfresco 4.x.  With a fresh start, we took another look at how dynamic workflow could work with the latest BPM technologies.  Utilizing Activiti, we were able to retain all of the Active Wizard’s dynamic workflow capabilities, while only using one template.  This is great because now we don’t need to generate a template on the fly anymore.  In fact, all three of the above limitations on our dynamic workflow approach in Active Wizard 3.x and 4.x are cured by Activiti.

The approval workflow template is actually structured using two workflow templates.  The first template acts as the main process template while the sub-process is where the actual user activity is defined.

Main process – service tasks process the start and end of the workflow. The center ‘Wizard Activity’ area calls out to the sub-process below.  Form rules drive how many times the embedded sub-process is executed.
Sub-process template containing the user activity.

For our first Active Wizard 5.0 client, we only implemented user-based tasks.  However, it will be easy to incorporate group-based and automatic tasks to the sub-process template in the future.  Once that is in place, we’ll be able to handle sending user, group and automatic tasks at the same time.

And, now that we’re not generating a template for each workflow instance, all of Activiti’s built-in workflow reporting components will work out of the box.

Going Forward

Along with the features mentioned in the above section, we’d love to get current Documentum customers’ thoughts on dynamic workflow for Activiti.  Since Activiti can be deployed as a standalone workflow engine, it would be possible for us to utilize it in a Documentum environment.  While it would be possible to build something like the above solution using Documentum’s BPM product, it would require additional licenses whereas Activiti is open source.  Whether you’re a Documentum or Alfresco client, let us know your thoughts below on dynamic workflow and Activiti.

Filed Under: Activiti, Alfresco, OpenContent Forms, Product Suite, Workflow Tagged With: BPM, bpmn2.0, dynamic workflow

Reader Interactions

Trackbacks

  1. Documentum and Alfresco BPM – Activiti and Active Wizard 5.0 | TSG Blog says:
    December 12, 2013 at 10:27 am

    […] to Alfresco.  You can read more about our initial thoughts of using Activiti for Active Wizard in this post from November 2012.  For this post, we thought we’d update our readers on the 2013 developments of Activiti with […]

    Reply

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Search

Related Posts

  • Documentum and Alfresco BPM – Activiti and Active Wizard 5.0
  • Migrating from Documentum to Alfresco – Controlled Documents – Introducing Active Wizard 5.0
  • Alfresco and Box – An Integrated Approach for Collaboration and Approval
  • Documentum to Alfresco Migration – TSG Compliance Solution for Regulated Industries
  • Alfresco or Documentum – Dynamic Workflow in Active Wizard
  • Alfresco – Activiti Workflow Thoughts
  • Document Review and Approval – Why Form AND Workflow are so important
  • Documentum or Alfresco – Engineering Document Transmittals
  • Enhancing Alfresco Share with HPI 2.1 – Summary of Series Posting
  • Enhancing Alfresco Share with HPI 2.1 – Document Workflow

Recent Posts

  • Alfresco Content Accelerator and Alfresco Enterprise Viewer – Improving User Collaboration Efficiency
  • Alfresco Content Accelerator – Document Notification Distribution Lists
  • Alfresco Webinar – Productivity Anywhere: How modern claim and policy document processing can help the new work-from-home normal succeed
  • Alfresco – Viewing Annotations on Versions
  • Alfresco Content Accelerator – Collaboration Enhancements
stacks-of-paper

11 BILLION DOCUMENT
BENCHMARK
OVERVIEW

Learn how TSG was able to leverage DynamoDB, S3, ElasticSearch & AWS to successfully migrate 11 Billion documents.

Download White Paper

Footer

Search

Contact

22 West Washington St
5th Floor
Chicago, IL 60602

inquiry@tsgrp.com

312.372.7777

Copyright © 2023 · Technology Services Group, Inc. · Log in

This website uses cookies to improve your experience. Please accept this site's cookies, but you can opt-out if you wish. Privacy Policy ACCEPT | Cookie settings
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT