Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Procedure

Creating an Application with a Simple Workflow

Step 1

Create a FAB application in transaction /n/IQX/FAB. Define the Properties, set the Workflow Mode to Process, and click Save.

Step 2

Click the Workflow button to open the FAB Process Designer.

In the FAB Process Designer, click the Template button and select Draft, Submit, Approve.

Click Yes in the Apply Template? dialog.

The following Process Flow will be generated. Click Save & Close.

Save the application and notice that the Draft and Submit actions were added in the Footer bar.

Step 3

Add a FAB Process Flow control to the Page to display the Process Flow Diagram in the application.

Adding Requirement to a Workflow

Requirements can be added to the Process Flow to specify whether a Task will be required or not depending on the conditions set. For example, you can set a requirement in the Workflow where an Approval Task is not required if the requested amount is less than $1000. To demonstrate this scenario, follow the steps below.

Step 1

Create a Data Model field by right-clicking on the Root NodeAdd Field of TypeFloat. Set the Field Name and Description to RequestAmount.

Add an Input control in the Form Container and bind it to field RequestAmount in the Data Model.

You can drag and drop the Data Model Field onto the Form Element to easily create the Input Control and the binding.

Set the Label of the Input control to Request Amount.

Remove the Label of the Form Container.

Set the Label of the Form to Request Details.

Click Save.

Step 2

Click the Workflow button to open the FAB Process Designer.

Go to the Requirements tab. Click the Add button and enter the requirement details. In this example, we will use the following values:

Id: AMOUNT_GT_1000

Description: Amount > $1000

Go to the Tasks tab. Click the Requirements button of the Approve task and select the requirement. Click OK.

Go to the Process Flow tab and the requirement is now reflected in the Approve task.

Click Save & close.

  • No labels