(Example) Configure a Condition Activity to Check the Leave Hours Available in the Absence Request Process

To configure a conditional expression to check the leave availability for your 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.

Procedure

  1. On the Common Common icon tab, drag the Condition Condition icon activity onto your process.
  2. In the IF field, enter Available.

    Available
  3. Click Edit Edit icon.

    Edit
  4. In the Rule Variable field, drag the TotalHoursRequested process data variable from the Process Data > Form Data screen.

    Drag TotalHoursRequested
  5. In the Operator field, select the expression <= from Number data type.

    Number data type
  6. In the Rule Value field, drag the LeaveAvailable process data variable from the Process Data > Form Data screen

    Drag LeaveAvailable
  7. Click Validate Validate icon to make sure the rule is correct.

    Validate
  8. Click Back Back icon to save your rule and go back to the previous screen.
  9. Click Finish.
  10. The Process Builder shows the Leave Available Condition activity for the example absence request process.

    Leave Available Condition activity