Skip to main content
Administrator Guide
Last Updated: 2023-06-23
Create Custom Object Validations

Create Custom Object Validations

  • Define condition rules for custom object validations.
  • Security:
    Custom Object Management
    domain in the System functional area.
You can create or edit custom validations for custom fields to ensure that your data is valid.
Workday Web Services don't enforce custom validations on custom object data that you upload using:
  • Workday-delivered integrations.
  • Workday Studio.
  1. Access the
    Configure Custom Object Validations
    task.
  2. Select an active or draft
    Custom Object
    from the
    Custom Object
    prompt.
  3. As you complete the task, consider:
    Option Description
    Message
    Enter text that displays when workers enter invalid data.
    Rule
    Select a condition rule to validate the data.
    When you create custom object validation rules on an effective-dated business object, you can only directly reference fields on an extended Workday object when the business process:
    • Uses that Workday object.
    • Won’t change that Workday object.
    When you reference fields that the business process uses, the validation rules evaluate data while the business process is in progress.
    When you need a custom object validation to reference a field on the extended Workday object, determine if the field is available on the Workday object that the business process uses. When it's not available, create a calculated field on that business process object. Use the
    Lookup Related Value
    calculated field on the
    Create Calculated Field
    task to display that field on the business process object. You can then use this calculated field in the custom object validation rule.
    Workday determines the current value of the calculated field when it runs the validation rule. The value isn't part of the business process.
    Evaluate only on 'OK'
    Select to evaluate the custom validation when you submit the task rather than when you move out of the custom field.
When workers create or update custom object additional data, Workday evaluates the custom validation rules to:
  • Alert transaction approvers to conditions that need more careful review.
  • Display warning or error messages when workers create a transaction that doesn't meet the conditions for the validation.
  • Prevent workers from submitting invalid transactions until they resolve an error.