#11580 [Extensibility Request] issue 29654: customize document rejection response
Workflow Setup now offers an overloaded method to define custom rejection responses for document approvals while maintaining backward compatibility with existing behavior.
- 1files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-13 by AleksandricMarko · 1 file (+6 -2), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds overload to InsertDocApprovalWorkflowSteps accepting rejection response code
- Enables extensions to define custom rejection states
- Preserves default open document behavior for current callers
- Backward compatible extensibility enhancement
AL objects touched
- Codeunit 1502 “Workflow Setup”, Base Application: modified
Context
- Work items: AB#620283
- Labels: Team: Integrations, extensibility-enhancement
- Systems: development
- From the description: “Added an overload for supplying the rejection response code while retaining the existing signature and default behavior.”
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Walkthrough: Implementing New Workflow Events and Responses — possibly related: touches Codeunit 1502 “Workflow Setup”
- Create approval workflows to connect tasks — possibly related: Workflow events and responses for document rejection in approval workflows. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).