Scenario
User has a business process that if the request is less than amount, the request will not require an approver. As part of a business process workflow, the user is not setting the Next Approver field for this scenario. On the Workflow, the sender of the email must be the Next Approver. If the next approver is blank, an error will be encountered.However, if we set a condition on the Send Email action using Next Approver is not Empty, the workflow will always treat this condition as true since the Next Approver has a space for its default value.
Solution
- Navigate to Customization > Workflow > Workflows
- Click Edit beside the Workflow to modify
- Locate the State containing the Send Email Action
- Double-click the State
- Click Send Email Action
- Condition:
- Click Open beside the Condition field
- Workflow Condition:
- Field: Select Next Approver
- Compare Type: Select not empty
- Click Save
- Click Save
- Click Done