0%

Book Description

For Business Analysts, this is the perfect primer to using Activiti for workflow and Business Process Management. It assumes no prior knowledge and is written in a beautifully accessible style with tons of easy-to-follow screenshots.

In Detail

Activiti is a light-weight workflow and Business Process Management (BPM) platform targeted at business people, developers, and system administrators. Its core is a super-fast and rock-solid BPMN 2 process engine for Java. Activiti runs in any Java application on a server, cluster and in the cloud. It integrates perfectly with Spring and it is based on simple concepts making it easy for users to maximize its potential.

Activiti BPM Beginner’s Guide quickly introduces you to the Activiti Business Process Management methodology. This book will serve as an extremely useful starter guide for developers working on Activiti BPM who wish to integrate Activiti with other technologies.If you want to take full advantage of the power of the Activiti BPM, then this is the book for you.

This book will teach you how to design advanced business workflows through easy steps as well as how to integrate your creations with various third party services. It will take you through a number of clear, practical steps that will help you to implement business workflow using standard BPMN notation.

The key aim of this book is to guide you through how to develop business workflows so you can eventually remove the gap between the business analyst and the developer. The book focuses on development and delivery using Activiti BPM through integrating, migrating, and upgrading some advanced technological tools.

You will learn everything you need to know to design effective and advanced business workflows and how to implement them with different applications.

This book should be in the tool belt of any business analyst who wishes to model business processes and use these models to generate a fully-functioning workflow application.

What You Will Learn

  • Setup the Activiti framework and create your first Activiti application
  • Learn about the Activiti Modeler and how to export and import models
  • Setup the Activiti Designer and start developing applications
  • Understand the Activiti Development Environment and how to configure the mail server
  • Create sub processes, parallel gateways, and implementing event and task listeners
  • Understand how Activiti integrates with Business Rule, Liferay, ECM, OSGI, and Camel
  • Implement REST services, parallel gateways, multi-instance processes, and event and task listeners
  • Learn about starting, deploying, and suspending processes

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

Table of Contents

  1. Activiti 5.x Business Process Management Beginner's Guide
    1. Table of Contents
    2. Activiti 5.x Business Process Management Beginner's Guide
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Time for action — heading
        1. What just happened?
        2. Have a go hero — heading
      6. Reader feedback
      7. Customer support
      8. Downloading the example code
      9. Downloading the color images of this book
        1. Errata
        2. Piracy
        3. Questions
    8. 1. Installing Activiti
      1. Getting started with Activiti BPM
        1. The Activiti Engine
        2. The Activiti Modeler
        3. The Activiti Designer
        4. The Activiti Explorer
        5. The Activiti REST
      2. Downloading and installing Activiti BPM
        1. Prerequisites for Activiti
          1. JDK 6 or higher
          2. Eclipse Juno or Indigo
        2. Installing the Activiti framework
      3. Time for action – installing the Activiti framework
        1. What just happened ?
      4. Time for action – creating our first process in Activiti
        1. What just happened ?
      5. Time for action – unit testing to see the result
        1. What just happened?
      6. Summary
    9. 2. Modeling Using the Activiti Modeler
      1. Understanding Business Process Modeling
        1. The BPM lifecycle
          1. The design phase
          2. Modeling
          3. Execution
          4. Monitoring
          5. Optimization
      2. Understanding the BPM standards
        1. Getting started with BPMN elements
        2. Flow objects
          1. Events
            1. The start event
            2. Intermediate event
            3. The end event
          2. Activities
            1. Task
            2. Sub-Process
            3. The call activity
          3. Gateways
            1. Exclusive gateways
            2. Inclusive gateways
            3. Parallel gateways
            4. Event-based gateways
        3. Connecting objects
          1. Sequence flow
          2. Message flow
          3. Associations
        4. Swim lanes
          1. Pool
          2. Lanes
        5. Artifacts
          1. Data object
          2. Group
          3. Annotation
      3. Installing the Activiti Modeler
      4. Time for action – Business Process Modeling using the Activiti Modeler
        1. What just happened?
      5. Time for action – import and export of a model
        1. What just happened?
      6. Time for action – deploying a model into the Activiti Engine
        1. What just happened?
      7. Summary
    10. 3. Designing Your Process Using the Activiti Designer
      1. Understanding the Activiti Designer
      2. Time for action – downloading and installing the Activiti Designer
        1. What just happened?
      3. Time for action – designing your first process
        1. What just happened?
      4. Time for action – testing your process
        1. What just happened?
      5. Time for action – importing a process from the Activiti Modeler to the Activiti Designer
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the Activiti Designer
      6. Summary
    11. 4. Management and Monitoring Using the Activiti Explorer
      1. An overview of the Activiti Explorer
      2. A process with the Activiti Explorer
      3. Time for action – ­ starting a process instance
        1. What just happened?
      4. Managing tasks with the Activiti Explorer
      5. Time for action ­– working with user tasks
        1. What just happened?
      6. Managing processes with the Activiti Explorer
      7. Time for action ­– process management
        1. What just happened?
      8. Reporting with the Activiti Explorer
      9. Time for action –­ reporting using the Activiti Explorer
        1. What just happened?
      10. Administration using the Activiti Explorer
      11. Time for action ­– administration using the Activiti Explorer
        1. What just happened?
      12. Time for action ­– changing to a production-ready database
        1. What just happened?
      13. Time for action –­ deploying a process using the Activiti Explorer
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the Activiti Explorer
      14. Summary
    12. 5. Development Using the Process Engine
      1. Understanding the Activiti development environment
        1. The Activiti Spring layer
        2. The Activiti Engine layer
        3. PVM
      2. Setting up the Activiti development environment
      3. Configuring the Activiti Process Engine
      4. Time for action – configuring a database
        1. What just happened?
      5. Time for action – the logging configuration
        1. What just happened?
      6. Time for action – configuring the mail server
        1. What just happened?
      7. Time for action – running the Activiti Engine
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the Activiti Process Engine
      8. Summary
    13. 6. The Activiti ProcessEngine API
      1. Overview of the APIs and services
      2. Delving into the process engine
        1. RuntimeService
        2. RepositoryService
      3. Time for action – deploying the process
        1. What just happened?
      4. Time for action – starting a new process instance
        1. What just happened?
        2. TaskService
      5. Time for action – querying for user tasks
        1. What just happened?
      6. Time for action – creating and completing user tasks
        1. What just happened?
      7. Time for action – suspending a process
        1. What just happened?
        2. ManagementService
        3. IdentityService
      8. Time for action – working with users
        1. What just happened?
        2. HistoryService
      9. Time for action – querying historical activities
        1. What just happened?
        2. FormService
      10. Time for action – unit testing and debugging processes
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the Activiti ProcessEngine API
      11. Summary
    14. 7. Working with the REST API
      1. Overview of the Activiti REST API
      2. Time for action – implementing the REST service
        1. What just happened?
        2. Working with REST API services
      3. Time for action – working with Repository APIs as REST
        1. What just happened?
      4. Time for action – working with processes
        1. What just happened?
      5. Time for action – working with tasks
        1. What just happened?
      6. Time for action – working with users
        1. What just happened?
      7. Time for action – working with management
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the REST API
      8. Summary
    15. 8. Integrating Activiti with Third-party Services
      1. Using the Liferay Portal with Activiti
        1. Understanding portals
        2. Exploring the Liferay Portal
      2. Time for action – integrating Liferay with Activiti
        1. What just happened?
      3. Integrating business rules in Activiti
        1. Drools Expert
        2. Drools Fusion
        3. Drools Planner
      4. Time for action – integrating and implementing business rules with Activiti
        1. What just happened?
      5. Deploying Activiti as an OSGi bundle
      6. Time for action – integrating Activiti with Apache Karaf
        1. What just happened?
      7. Summary
    16. 9. Implementing Advanced Workflows
      1. Understanding parallel gateways
      2. Time for action – implementing a parallel gateway
        1. What just happened?
      3. Getting started with Sub-Processes
        1. Embedded Sub-Processes
        2. Standalone Sub-Process
        3. Event Sub-Process
      4. Time for action – working with BPMN 2.0 Sub-Processes
        1. Understanding an embedded Sub-Process
        2. Understanding a standalone Sub-Process
        3. What just happened?
      5. Understanding multi-instance processes
      6. Time for action – implementing a multi-instance process
        1. What just happened?
      7. Introducing execution and task listeners
        1. Execution listeners
        2. Task listeners
      8. Time for action – implementing execution and task listeners
        1. What just happened?
      9. Monitoring workflows using BAM and CEP
        1. Understanding BAM
        2. Understanding CEP
      10. Monitoring using Esper
      11. Time for action – using Esper with Activiti
        1. What just happened?
        2. Have a go hero
        3. Pop quiz – the Activiti Process Engine
      12. Summary
    17. A. Pop Quiz Answers
      1. Chapter 3, Designing Your Process Using the Activiti Designer
        1. Pop quiz – the Activiti Designer
      2. Chapter 4, Management and Monitoring Using the Activiti Explorer
        1. Pop quiz – the Activiti Explorer
      3. Chapter 5, Development Using the Process Engine
        1. Pop quiz – the Activiti Process Engine
      4. Chapter 6, The Activiti Process Engine API
        1. Pop quiz – the Activiti ProcessEngine API
      5. Chapter 7, Working with the REST API
        1. Pop quiz – the REST API
      6. Chapter 9, Implementing Advanced Workflows
        1. Pop quiz – Activiti Process Engine
    18. Index