---
id: object/table/1524
type: object
title: Table 1524 "Workflow Rule"
summary: Table 1524 "Workflow Rule" in Base Application (System.Automation). 8 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "24"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 9b22335debafffabb3af46c7839ccb6a95fe5e945aadf8652b776b044a533202
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/Workflow/WorkflowRule.Table.al
    title: src/Layers/W1/BaseApp/System/Workflow/WorkflowRule.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1524
name: Workflow Rule
namespace: System.Automation
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 8
  procedures: 8
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1524 "Workflow Rule"

> Table 1524 "Workflow Rule" in Base Application (System.Automation). 8 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24.

Base Application · System.Automation · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/Workflow/WorkflowRule.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Workflow Rule |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | ID | Integer | — | AutoIncrement |
| 2 | Table ID | Integer | — | TableRelation AllObjWithCaption."Object ID" where("Object Type" = filter(Table)) |
| 3 | Field No. | Integer | — | TableRelation Field."No." where(TableNo = field("Table ID")) |
| 4 | Operator | Option | Specifies the type of change that can occur to the field on the record. In the Change Customer Credit Limit Approval Workflow workflow template, the event condition operators are Increased, Decreased, Changed. <small>via [Page 1526 "Workflow Event Conditions"](../page/1526.md)</small> | OptionCaption: Increased,Decreased,Changed |
| 8 | Workflow Code | Code[20] | — | TableRelation Workflow.Code |
| 9 | Workflow Step ID | Integer | — | TableRelation [Table 1502 "Workflow Step"](../table/1502.md) ("Workflow Step".ID where("Workflow Code" = field("Workflow Code"))) |
| 10 | Field Caption | Text[250] | — | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table ID"), "No." = field("Field No."))) |
| 11 | Workflow Step Instance ID | Guid | — |  |

## Keys

- Key1: Workflow Code, Workflow Step ID, ID (clustered)

## Procedures

- `EvaluateRule(RecRef: RecordRef; xRecRef: RecordRef): Boolean`
- `CompareValues(xValue: Variant; Value: Variant): Boolean`
- `GetDisplayText(): Text`

Plus 5 local procedures.

## Relations

- Workflow Step ID: TableRelation [Table 1502 "Workflow Step"](../table/1502.md)

## Pages and codeunits on this table

- [Page 1526 "Workflow Event Conditions"](../page/1526.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Workflow Rule")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
