Chapter 6. Executing actions

Table of Contents

Introduction
Defining action states
Defining decision states
Action outcome event mappings
Action implementations
Invoking a POJO action
Invoking a custom Action implementation
Invoking a MultiAction implementation
Action exceptions
Handling a business exception with a POJO action
Handling a business exception with a MultiAction
Other Action execution examples
on-start
on-entry
on-exit
on-end
on-render
on-transition
Named actions
Streaming actions
Handling File Uploads

Introduction

This chapter shows you how to use the action-state element to control the execution of an action at a point within a flow. It will also show how to use the decision-state element to make a flow routing decision. Finally, several examples of invoking actions from the various points possible within a flow will be discussed.