Building an Enhanced Workflow

This article demonstrates how to Build an Enhanced Workflow in FAB Workbench.

Procedure

Step 1

To enable the enhanced workflow designer and engine, the application must be configured to use the Process Workflow Mode.  This default value is Basic and must be changed either at the time of app creation or though the Properties window accessed by the Properties button.

Step 2

Accessing the workflow designer is done through the Workflow button.

Step 3

The following items must be configured for Workflow.  More information on each of the sections can be found in the Workflow Designer Overview section of the help.

  1. Roles - Add roles for each group of users that will perform different functions within the application.  e.g. Approvers

  2. Levels - Add a level for each different phase of the workflow.  e.g.  Creation, Approval, Completion

  3. Tasks - Add one or more tasks for each of the levels you have configured.  e.g.  Creation, Approval 1, Approval 2 and Completed

  4. Task Actions - Configure the actions that can be performed within each Task of the application.  Each action will have a button on the footer of the application.

  5. Task Action Outcomes - For each of the actions (e.g. Approve, Reject), configure the next Task that should become active when that action is executed.

Step 4

(Optional)

Setup any Requirements that you will use for Tasks or Task Outcomes and implement those in the appropriate ABAP user exit.

Step 5

(Optional)

Setup any View Variables that you would like to use in View Control to control the visible and enabled properties of Form elements.

Step 6

Create an Approval Matrix Configuration App or manually implement the Determine Approvers for Roles ABAP user exit.

Step 7

(Optional)

Add a Process Flow diagram into your app so that you can provide a visual representation of the workflow to the users within your app.  This can be achieved by adding the FAB Process Flow control to an appropriate area within your application.