Setup a Workflow to Return Error When the Hire Date Field is Empty

In the events that the Hire Date cannot be set to mandatory in the form, we can create a workflow to return an error when the Hire Date field is empty and prevent to submit the employee record.
Solution
  1. Navigate to Customization Workflow Workflows New
  2. Basic Information:
    • Name: Enter Hire Date Validation
    • Record Type: Select Employee
    • Execute as Admin: Enter Checkmark
    • Released Status: Select Released
    • Keep Instance and History: Select Always
    • Enable Logging: Enter Checkmark
  3. Event Definition:
    • On Create: Enter Checkmark
    • On View or Update: Enter Checkmark
    • Click Save
  4. Click State 1
  5. Bottom right corner: Click New Action
  6. Click Return User Error
  7. Basic Information:
    • Trigger On: Select Before Record Submit
  8. Condition:
    • Click on the Open button at the right side of the field
    • Field: Select Hire Date
    • Compare Type: Select Not Empty
    • Click Add
    • Click Save
  9. Parameters:
    • Text: Enter Hire Date should not be empty
  10. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *