Process Flow

The Process Flow window contains four tabs:

This section explains how to create a Process Flow using the following Tools, Activities and OFSAA Widgets:

Gateways

Split refers to a condition where an incoming transition is split to multiple transitions. In Merge, multiple incoming transitions are merged to a single transition. The Splitting and Merging of Activities is modeled through gateways. Gateway can be Sequential, Parallel, or Multi Choice.

Sequential Gateways are used when you want to execute multiple activities in a predefined sequence. Parallel Gateways are used when you want to execute multiple activities in parallel. Multi Choice Gateways are used when you want to execute multiple activities based on decision rule or condition expression.

To add a Gateway

From the Process Flow tab, click the required Gateway from the Tools section in the floating toolbar. The options available are Sequential Gateway, Parallel Gateway or Multi Choice Gateway.

Back to Top

Connector

A Connector is used to connect two activities with different paths, in case if the default path is overlapping some existing flow.

To add a Connector

From the Process Flow tab, click Connector from the Tools section in the floating toolbar and then click the canvas where you want to add a connector.

Back to Top

Task Groups

You can create task group by selecting individual users, user groups, or users selected by a particular rule. You can also create a task group based on a user role. That is, if user role is provided and a user or user group is selected, then task group is created with those users or user groups that are mapped to the same user role.

All users in the Task Group are able to view the pending /open tasks in their Application inbox. They can navigate to their inbox and click the link provided under Entity Name, to directly open the application and complete their tasks.

To create task group

  1. From the Process Flow tab, double-click the Activity for which you want to create task group.

  2. Click to go to the Actions tab.

  3. Select the task for which you want to create task group. The Participants grid is displayed

  4. Click Add in the Participants grid. The Task Details window is displayed.

  5. Enter the details as given in the table:

Field

Description

Decision Rule

Select the condition to send the task to the users.

Click . From the Browser, select the required decision rule and click OK.

Role Code

Enter the role code if you want to send the task to users assigned with the role. This field is optional. If this is not provided, then the check to verify whether the user is mapped to the role is not performed.

User Type

Select the appropriate options from the drop-down list. The options are:

  • User

  • Rule

  • User Group

  • None- This can be selected if you have entered the Role Code and you want to assign the task to users having that role.

User

  • For User Type selected as User- Click . The User Details window is displayed. Select the appropriate user and click OK. During execution, if the condition is met as indicated in the Decision Rule field and the user is mapped to the role code, then task will be generated to the selected user.

  • For User Type selected as User Group- Click . The User Group Details window is displayed. Select the appropriate user group and click OK. During execution, if the condition is met as indicated in the Decision Rule field and the user group is mapped to the role code, then task will be generated to all users in the user group.

  • For User Type selected as Rule- Click . The Rule Details window is displayed. Select the appropriate selection rule and click OK. During Execution, if the condition is met as indicated in the Decision Rule field, and user IDs returned from the Selected Rule are mapped to the role code, then task will be generated to those users.

  1. Click OK.

Back to Top

Adding Notifications

Notifications are used to alert the users about a task that requires possible user intervention. It will be sent as an Inbox item.

To add notifications

  1. From the Process Flow tab, double-click the Activity for which you want to create notification.

  2. On the right pane, click to display the Notifications tab.

  3. Click Add from the toolbar to add a new notification. The Notification Group Details window is displayed.

  4. Enter the details as given in the table:

Field

Description

Notification ID

Displays the automatically generated Notification ID.

Notification Name

Enter the Notification name. By default, Notification name is prefixed with “NotificationName_”.

Condition

Select the decision rule so that when the condition is satisfied the Notification will be sent to the users associated to this Activity.

Generate

Select the required option:

  • On Entry- Notification is sent just before executing the activity business logic.

  • On Exit- Notification is sent just before leaving the activity and moving to next activity.

  • On Stage- When there is a transition where the target and source is the same activity, and if that transition happens, then OnStage tasks are triggered.

  • On Escalation- Notification is sent when the task is escalated. This needs to be selected if you have set escalation of the task.

  • On Reminder- Notification is sent at the time of the reminder set for the task.

Enabled

Select the Yes checkbox to enable the Notification.

Email

Email Required

Select the Yes checkbox if an email needs to be sent as notification.

Email Template

Select the email template to be used from the drop-down list. Templates are populated from AAI_WF_Email_Template table.

  1. Click OK.

Back to Top

Group Approval/Group Consensus

Group approval/Group Consensus can be used to decide whether the flow has to move to a particular activity based on the response of a single member, majority of members of the group, or all members of the group. If more than one group is present, then you can design to move the flow to a particular activity based on the response of a single group, all groups or the majority of groups.

Configuring Parallel Group Approval

Parallel group approval is used when you want to send the task to all users in the task group simultaneously.

To configure parallel group approval:

  1. From the Process Modeller window, select the required Process and click Edit. The Process Flow tab is displayed.

  2. Double-click the Activity for which you want to configure user approval.

  3. On the right pane, click to display the Actions tab.

  4. Click Group Approval to configure group approval. The Task Stage Details window is displayed.

  5. Select Parallel to configure parallel group approval.

  6. Click Add. A row is added to define the voting formula for target activity.

Note: It is recommended that you define voting formula for all activities. If voting formula is not defined for an activity and if someone in a task group selects that activity, the workflow moves to that activity.

  1. Select the required Target Activity from the drop-down list.

  2. Select the required option from the Voting Formula drop-down list. The options are:

  1. Select the Default Target Activity from the drop-down list. This is the activity which will be executed if none of the condition is satisfied.

  2. Click Ok.

Configuring Sequential Group Approval

Sequential group approval is used when you have multiple tasks for an activity.

To configure sequential group approval:

  1. From the Process Modeller window, select the required Process and click Edit. The Process Flow tab is displayed.

  2. Double-click the Activity for which you want to configure user approval.

  3. On the right pane, click to display the Actions tab.

  4. Click Group Approval to configure group approval. The Task Stage Details window is displayed.

  5. Select Sequential to configure sequential group approval.

  6. Select the Condition to trigger intragroup from the drop-down list. Intragroup is the task group of each task in a particular activity. The sequence in which each intragroup will be considered for voting is based on the sequence in which the tasks are added in the Task Stage pane in the Actions tab. The options are:

  1. Click Add. A row is added to define the voting formula for target activity.

Note: It is recommended that you define voting formula for all activities. If voting formula is not defined for an activity and if someone in a task group selects that activity, the workflow moves to that activity.

  1. Select the required Target Activity from the drop-down list. This is the activity which will be executed if none of the condition is satisfied.

  2. Select the required option from the Voting Formula drop-down list. The options are:

  1. Select the activity which needs to be executed if the condition fails, from the Default Target Activity drop-down list.

Scenarios

Based on the Condition to trigger Intragroup and Voting Formula, the flow decides which activity needs to be triggered.

Consider Condition to trigger Intragroup is selected as Responded by a Member from the Group and Voting Formula is selected as Approved by anyone from all the groups. It waits for someone in the first task group to respond. If the first response is the selected Target Activity, the flow moves to that activity. Otherwise, it waits for the response in the second task group. If the second group’s response is the selected Target Activity, the flow moves to that activity, else the process continues to the next task group. If no response from all the task groups favours the selected Target Activity, it checks the voting formula for the next Target Activity if it is defined. If no condition is satisfied, it moves to the Default Target Activity.

Consider Condition to trigger Intragroup is selected as Responded by Overall Majority and Voting Formula is selected as Approved by anyone from all the groups. It waits till either majority of the users in the task group responds or anyone selects the Target Activity. For example, consider there are 5 users in the first task group. Then if the first person selects the Target Activity, it moves to that activity. Else, it checks the second user’s response. If that response is the selected Target Activity, it moves to that activity. Else, it checks the third user’s response. If that response is the selected Target Activity, it moves to that activity. Else, it goes to the next task group since the majority of users in the task group responded and the process continues. If no condition is satisfied, it checks the voting formula for the next Activity. If no condition is satisfied, it moves to the Default Target Activity.

Consider Condition to trigger Intragroup is selected as Responded by Overall Majority and Voting Formula is selected as Approved by Overall Majority. It waits till the majority of the users from the first task group respond. Then it moves to the next task group and waits till majority responds and so on. Once majority of users in all task groups respond, it checks whether the majority of the responses favour the selected Target Activity. Then it moves to that activity.  Else it checks the voting formula for the next Target Activity if it is defined. If no condition is satisfied, it moves to the Default Target Activity.

Consider Condition to trigger Intragroup is selected as Responded by Everyone in each group and Voting Formula is selected as Approved by Overall Majority. It waits till everyone in the first task group responds. Then it moves to the next task group and waits for the response by everyone in that group and the process continues till everyone from all task group responds. If the majority of the users of all groups selected Target Activity, the flow moves to that activity. Else it checks the voting formula for the next Target Activity if it is defined. If no condition is satisfied, it moves to the Default Target Activity.

Back to Top

Outcomes

Outcomes are used to have user defined buttons such as Approve or Reject, that will be available while execution to let approver decide which one to click. This helps in deciding the flow of Workflow and execution of transitions.

Outcome based approach helps in:

Configuring Outcomes

Step 1: Configure the required Outcomes to the Activity.

  1. From the Process Modeller window, select the required Process and click Edit. The Process Flow tab is displayed.

  2. Double-click the Activity for which you want to configure outcomes. On the Right Pane, the Activity tab is displayed.

  3. Select the required Outcomes from the drop-down list. The options are Approve, Reject and Submit. These values are pre-seeded. You can add more values in the database.

Step 2: Define Outcome Rule for each Outcome.

  1. Go to the Application Rule tab.

  2. Click Add and select Outcome Rules. The Rule Details window is displayed. For more details, see Creating Outcome Rule. You should add Outcome Rule to every values of outcome (Approve, Reject and Submit).

Step 3: Map transition for each Outcome.

The outcome rule needs to be mapped to a particular transition so that it gets executed and moves to next stage.

  1. Double-click the Activity and on the right pane, click to go to Transitions tab .

  2. Click Add to add transition for each Outcome. That is, select the Outcome rule as the Decision Rule in the Transition Details window. For more details, see Adding a Transition.

During execution of the workflow, user can see Outcomes as buttons, for example, Approve or Reject button. When approver clicks the Approve button, transition associated with the Approve outcome gets executed and the workflow proceeds to the Connected to activity of that transition.

Back to Top