(Example) Configure a Condition Activity to Check the Leave Approval Status in the Absence Request Process

To configure the Approval Status condition activity to check if the manager approved or rejected the leave request in the example absence request process, do the procedure in this topic.

Good to Know

How to Start

  1. (Example) Create a Process-Based Application for an Absence Request.
  2. (Example) Start an Absence Request Process with an eForm.
  3. (Example) Create an eForm to Set Available Leave Hours.
  4. (Example) Configure a Condition Activity to Check the Leave Hours Available in the Absence Request Process.
  5. Do one of these:
  6. (Example) Configure an E-mail activity to Notify the Requester if the Leave Hours Are Not Available.

Procedure

  1. In the Process Builder, in the Activity Library, open the Common Common icon tab.
  2. On the Common Common icon tab, drag the Condition Condition icon activity onto your process.
  3. On the Condition Builder screen, in the Display Name field, enter Approval Status.

    Approval Status
  4. In the IF field, enter Approve as rule name.

    Approve
  5. In the ELSE field, enter Reject.

    Reject
  6. To specify your rule, click Edit Edit icon.
  7. In the Rule Variable field, drag the ManagerApprove process data variable from the Process Data > Form Data screen.

    ManagerApprove
  8. In the Operator field, select the expression == from the String data type.
  9. In the Rule Value field, enter Approve.

    Approve
  10. Click Validate Validate icon to make sure the rule is correct.
  11. Click Back Back icon to save your rule and go back to the Condition Builder screen.
  12. Click Finish.
  13. The Process Builder shows the Approval Status condition activity in the example absence request process.

    Approval Status condition activity