---
id: change/bcquality/289
type: change
title: "#289 workflow-library-registration"
summary: Adds a knowledge article with good and bad AL examples explaining that custom workflow events, responses and table relations should be registered through the workflow library extension points. Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.
tier: official
language: en
tags:
  - feature
  - main
system: development
review:
  state: reviewed
  by: opus
  at: "2026-11-30T15:07:38.273Z"
  flags: []
generated:
  at: "2026-11-30T13:33:07.232Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 39f77bbfc4da14c5f5064927cd0f3d9df55de7e1
evidence:
  - kind: code
    url: https://github.com/microsoft/BCQuality/pull/289
    title: "microsoft/BCQuality#289: workflow-library-registration"
    date: "2026-11-30"
    commit: 39f77bbfc4da14c5f5064927cd0f3d9df55de7e1
    t: null
    quote: Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines:
    - guideline/microsoft/knowledge/events/register-workflow-libraries-through-extension-points
  changes: []
number: 289
repo: microsoft/BCQuality
source_id: bcquality-prs
url: https://github.com/microsoft/BCQuality/pull/289
kind: pr
base_branch: main
major: null
merged_at: "2026-11-30T09:38:14Z"
author: fernandoartalf
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 4
  additions: 108
  deletions: 2
  al: 3
apps: []
objects_touched: []
objects_unjoined:
  - path: microsoft/knowledge/events/register-workflow-libraries-through-extension-points.bad.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/events/register-workflow-libraries-through-extension-points.good.al
    status: added
    reason: not-in-snapshot
  - path: microsoft/knowledge/events/register-workflow-libraries-through-extension-points.md
    status: added
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - development
quote: Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.
joined_against:
  major: null
  commit: null
---

# #289 workflow-library-registration

> Adds a knowledge article with good and bad AL examples explaining that custom workflow events, responses and table relations should be registered through the workflow library extension points. Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.

[Pull request](https://github.com/microsoft/BCQuality/pull/289) · merged into `main` on 2026-11-30 by fernandoartalf · 4 files (+108 -2), 3 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New guidance explains how to register custom workflow events, responses, and table relations through library extension points
- Clarifies that registrations done only at installation time can disappear when Business Central rebuilds libraries during upgrades
- Distinguishes this pattern from valid custom events and reuse of standard responses
- Includes good and bad AL code examples for reference
- Knowledge applies to all BC versions with evaluation fixture targeting BC 29

## AL objects touched

- `microsoft/knowledge/events/register-workflow-libraries-through-extension-points.bad.al`: added, not in the BC? snapshot yet
- `microsoft/knowledge/events/register-workflow-libraries-through-extension-points.good.al`: added, not in the BC? snapshot yet
- [`microsoft/knowledge/events/register-workflow-libraries-through-extension-points.md`](../../guidelines/microsoft/knowledge/events/register-workflow-libraries-through-extension-points.md): added, not in the BC? snapshot yet

## Context

- Systems: development
- From the description: "Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade."

Source: metadata of a merged pull request in microsoft/BCQuality (bcquality): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
