(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

Procedure

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


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


  5. In the ELSE field, enter Reject.


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


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


  10. Click Validate to make sure the rule is correct.
  11. Click Back 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.