Skip to main content

Add Flow and Approval

Utilizing Record Producers on an Employee Center Portal allows consumers (employees) to connect with a departmnet and to access the services the department provides. Workspaces provide a Dept-specific view for service fulfillment for department users.

Now we will utilize Flow Designer to build a workflow to standardize the way that the department processes requests. We will configure the workflow to execute whenever a Dept Request is submitted. This workflow will request an approval from a Group of Users designated as Dept Request Approvers.

  1. Exit App Engine Studio and return the platform.
    Select All.
    Type sys_user_group.list in the Filter Navigator textbox and press the Enter key.

Bonus 2 Image 1

  1. The Groups list view will load displaying the existing Groups.
    Select the New option in the upper right.

Bonus Image 2

  1. Enter Dept Request Approvers in the Name field.
    Right-click in the gray bar at the top of the form view and select Save.

Bonus Image 3

  1. Select the Group Members tab. Select the Edit button to add members.

Bonus Image 4

  1. Search for Users on the left side of the slush bucket. Use the [>] button to select add the User to the group. Add:
  • Andrew Och
  • Beth Anglin
  • Luke Wilson
    Select Save

Bonus Image 5

  1. Repeat the steps to add a Role to the Group. This will grant access to the Dept Request Approvers members.
    Select the Roles tab.
    Add the user role for the Dept Services app. (Your role will have a slightly different prefix)

Bonus Image 6

  1. Return to the Dept Services app in App Engine Studio.
    Select the Logic and automation tab.
    Select the (+) Add option next to the Logic and Automation header.

Bonus Image 7

  1. Select Flow when the next screen appears.

Bonus Image 8

  1. Select Build from scratch, you will not be using a flow template in the Dept Services app.

Bonus Image 9

  1. Enter Dept Request Created in the Name field
    Select Show advanced options
    Change Run as to System User
    Select Continue

Bonus Image 10

  1. Select Edit this flow once the flow is ready

Bonus Image 11

  1. Select (+) Add a trigger. Set the Trigger to Created

Bonus Image 12

Bonus Image 13

  1. Set the Table to Dept Request.

Bonus Image 14

  1. Select (+) Add an Action, Flow Logic, or Subflow.
    Search for ask for
    Select Ask For Approval

Bonus Image 15

Bonus Image 16

  1. Drag the Dept Request Record Data Pill from the right Data pane to the Record field.
    Set Approve to Approve or Reject
    Set Choose approval rule to Anyone approves or rejects
    Select the middle Group button to assign the approval to open the group selector popup
    Type dept and select Dept Request Approvers, the group created in a previous step
    Select Done to save your changes

Bonus Image 17

  1. Select the (+) directly below the Ask for Approval action
    Select Flow Logic Select If when the popup appears

Bonus Image 18

  1. Drag the Approval State Data Pill from the right Data pane and drop on Drag and drop data pill in Accpet the default is value
    Set the Select a choice to Approved
    Select Done

Bonus Image 19

  1. Select the (+) option below the If action that we just added. Make sure to select the (x) that is indented. This will ensure that it the action only will only run if the Dept Request is approved
    Select Action and search for update record in the popup
    Select the Update Record action

Bonus Image 20

  1. Drag the Dept Request record from the right Data pane and drag to the Record field
    Select + Add field value. Set the field to State
    Set the value to Work in Progress

Bonus Image 21

  1. Select Activate in the upper right to set the flow as Active

Bonus Image 22

Confirm by selecting Activate again when prompted

Bonus Image 23

  1. Return to the App Home tab
    Select the ellipsis(...) for the Dept Request table
    Select Edit

Bonus Image 24

  1. Select Preview in the upper right when the Dept Request tab opens

Bonus Image 25

  1. Select the New button in the upper right once the Preview opens

Bonus Image 26

  1. Select the hamburger (three stacked lines) button in the upper left
    Select Configure >
    Selected Related Lists

Bonus Image 27

  1. Select Approvers
    Select Group approval->Parent
    Select Save

Bonus Image 28

  1. Return to the platform tab
    Search for and click Employee Center

Bonus Image 29

  1. Search for Dept Requests
  1. Fill out the required fields and click Submit
  1. Notice how the State is Open when the confirmation screen opens. Leave this tab open.

Bonus Image 32

  1. Return to App Engine Studio and select PREVIEW to open up the Workspace in the Experience section.

Bonus Image 33

  1. The Workspace will open in a new tab
    Select the List button in the upper left
    Select Open in the Dept Request section
    Select the newest Dept Request. It will have the largest number.

Bonus Image 34

  1. Select the Approvers (3) tab
    Select
    Requested** to open the first approval request

Bonus Image 35

  1. Set the State field to Approved
    Select Save in the upper right

Bonus Image 36

  1. Return to the browser tab where the confirmation screen is displayed in Employee Center
    Observe how the State has changed to Work in Progress.

Bonus Image 37