Book Image

OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

Book Image

OSWorkflow: A guide for Java developers and architects to integrating open-source Business Process Management

Overview of this book

OSWorkflow is an open-source workflow engine written entirely in Java with a flexible approach and a technical user-base target. It is released under the Apache License. You can create simple or complex workflows, depending on your needs. You can focus your work on the business logic and rules. No more Petri Net or finite state machine coding! You can integrate OSWorkflow into your application with a minimum of fuss. OSWorkflow provides all of the workflow constructs that you might encounter in real-life processes, such as steps, conditions, loops, splits, joins, roles, etc.This book explains in detail all the various aspects of OSWorkflow, without assuming any prior knowledge of Business Process Management. Real-life examples are used to clarify concepts.
Table of Contents (13 chapters)
OSWorkflow
Credits
About the Author
About the Reviewers
Introduction

Incorporating Business Logic into Business Processes


Each task in a business process can be performed automatically. When a task can be done automatically, it's because the business process has embedded knowledge about the task and can make logical decisions about it. This knowledge can be in the form of program code or another knowledge representation, such as a decision table.

This knowledge about a process is called business logic or business rules. For instance, a business rule in a bank loan process can be 'validate the amount requested versus the amount limit; if it exceeds the amount limit cancel the loan'. All business rules clearly have two parts—the 'if' or condition part, and the 'then' or consequence part. If the condition is true, then the consequence is executed. This structure will be clearer later on in the chapter.

There are two ways to embed this knowledge inside our OSWorkflow business processes, depending on the type of rules. For most simple rules, OSWorkflow Conditions...