This chapter introduces several key features of OSWorkflow like variable interpolation, OSWorkflow function providers, registers, conditions, and BeanShell scripting. These tools are useful for creating sophisticated business process definitions by adding custom code.
This chapter covers some advanced features available in OSWorkflow such as the ability to persist variables using PropertySet
. We will learn how to check input data with our own validation rules using the OSWorkflow Validator model. Finally, we will cover two very handy definitions tips: Auto
and Finish
Actions, to make our definitions more compact.
Not every bit of data is created to be persisted; for these cases OSWorkflow provides a transient variables map. This map is created for every invocation to the Workflow
instance and is used to store temporary data in one place during the workflow processing. Its content is cleared in each invocation and is pre...