Repository navigation
workflow-library-registration - #289
Fer (fernandoartalf) wants to merge 2 commits into
Conversation
|
@microsoft-github-policy-service agree |
Jesper Schulz-Wedde (JesperSchulz)
left a comment
There was a problem hiding this comment.
On BC28, AddResponseToLibrary returns immediately when the standard response already exists, so OnAddWorkflowResponsePredecessorsToLibrary is not raised for it. In an existing company, this example can add the custom event without pairing it with Create Approval Requests, leaving that response unavailable for the event.
Please make the example work across the article's all-version scope, for example by registering the combination from OnAddWorkflowResponsesToLibrary, or document the BC29-only behavior and a version-safe alternative for earlier releases. Reusing the standard response is valid; a new custom response is not needed.
Thank you for the feedback Jesper, I have performed a fix based on It, you should be able to review It on this PR. |
Adds knowledge about registering custom workflow events, responses, and table relations through their library extension points. Entries registered only during installation can disappear when Business Central rebuilds the libraries during an upgrade.
The guidance distinguishes this defect from valid custom events and reuse of standard responses. It applies to all BC versions, with the evaluation fixture targeting BC 29.
Changes
Adds an article and good/bad AL examples.
Adds the examples to the events review evaluation.
Validation
Frontmatter, review contracts, and fixture coverage passed.
Knowledge and skill index checks passed.
Fixture-context and changed-path regression checks passed.