Flow processor example: generic server operation

The generic server operation example shows how to create a generic flow processor to handle server operations. The example has three states:

The flow also has an initial state and two final states to provide the exit conditions according to the success of the flow. The following statechart diagram shows the generic operation flows:

Statechart diagram for generic operation flow.

Modeling operations using flow diagrams allows you to reuse many common steps in different combinations to meet various business requirements. The same state machine or processor code can also be reused, but modified to behave according to the externalized definition of the required process flow. Note that if this approach is chosen for server operations, you must define a policy for launching operations from the client server. See Server operation execution as flow diagrams for more information.