Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article demonstrates how to Build an Enhanced a Process 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 in the menu bar.

image-20240229-010900.png

Step 3

Once workflow window has been opened, you will be able to see the available workflow versions. If you are creating a new workflow, a default initial version would be available. Please note that this version has no configuration set up yet and you will need to configure the workflow yourself. The initial workflow version would look like this:

image-20240229-015955.png

Click on the editable workflow version and you will be able to see the details panel for that specific version. You may then proceed to next steps for workflow configuration.

image-20240229-020708.png
Info

For FAB version 3.3 and newer, please check Workflow Versioning page to understand the process of how the workflow versions are determined and stored in SAP.

Step 4

The following items must be configured for Workflow.  More information on each of the sections can be found in the Workflow Process 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.

To help you get started on configuration, we also provide workflow template for simple DRAFT>SUBMIT>APPROVE workflow. You may see this functionality at the bottom part of your workflow window.

image-20240229-021616.pngImage Modified

Step 5 (Optional)

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

Step 6 (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 7 (Optional)

Setup any Notifications that you would like to use for Tasks or Task Outcomes and configure it appropriately.

Step 8

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

Step 8 9 (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.

...