DefinitionsConditionRules
Contains predefined condition rules associated with custom object definitions. These rules dictate how data should be validated or processed within a custom object framework.
Workday Resource Information
Retrieves the condition rules in a custom object definition with the specified ID.Secured by: Custom Object Management, Workday Designer
Scope: System, Workday Designer
Aggregate Fields
The driver represents the following fields as aggregates containing JSON text. Each of them conforms to their respective schema. Fields marked with an asterisk are required and must be included if their parent object is. Fields marked with a hyphen are read-only and must not be included when calling stored procedures or when performing an INSERT or UPDATE.
This information is derived from the Workday REST API specification which does not explicitly list all business rules and validations that apply to each object. More fields may be required than what is listed here.
ConditionItems_Aggregate
[{
and: Boolean /* If true, the condition item uses an AND operator. */
closeParentheses: Boolean /* If true, the condition item has close parentheses. */
openParentheses: Boolean /* If true, the condition item has open parentheses. */
or: Boolean /* If true, the condition item uses an OR operator. */
*order: Text /* The order of the condition item. */
*relationalOperator: Text /* The name for the condition item relational operator. */
*sourceField: { /* The source used by the external field. */
-descriptor: Text /* A description of the instance */
-href: Text /* A link to the instance */
*id: Text /* wid / id / reference id */
}
targetBoolean: Boolean /* The target boolean used to compare against the source field. */
targetDate: Date /* The target date used to compare against the condition item source field. */
targetField: { /* The target external field. */
-descriptor: Text /* A description of the instance */
-href: Text /* A link to the instance */
*id: Text /* wid / id / reference id */
}
targetInstances: [{
descriptor: Text /* The instance descriptor. */
id: Text /* The Workday ID of the given object. */
}]
targetNumber: Numeric /* The target number used to compare against the condition item source field. */
targetText: Text /* The target text used to compare against the condition item source field. */
}]
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
Unique identifier for the condition rule instance. |
| Definitions_Id [KEY] | String | False |
The Workday identifier (WID) that identifies the Definitions object to which this condition rule belongs. |
| Comment | String | False |
User-provided comment that explains the purpose or context of the condition rule. |
| ConditionItems_Aggregate | String | False |
List of condition items that make up the rule, separated by commas with a space after each comma. |
| ConditionRuleId | String | False |
Reference Id used to look up related elements, such as 'Organization_ID' for supervisory organizations. |
| Descriptor | String | False |
Text preview summarizing key information about the condition rule instance. |
| Href | String | False |
URL link to the condition rule instance within the Workday system. |
| RuleDescription | String | False |
Detailed description of the condition rule as provided by the user, specifying its logic or intended use. |