---
title: "Codeunit 104056 Upgrade Workflow, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/points/
object: https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 104056 Upgrade Workflow, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradeWorkflow.Codeunit.al, in source order, read from the text, not from a run.

## OnUpgradePerCompany

[Line 15](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L15), trigger.

- [17](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L17) calls `UpdateWorkflowWithDelegatedAdminTemplate`

## UpdateWorkflowWithDelegatedAdminTemplate

[Line 20](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L20), local.

- [27](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L27) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `HasUpgradeTag`
- [27](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L27) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetWorkflowDelegatedAdminSetupTemplateUpgradeTag`
- [31](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L31) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `ResetWorkflowTemplates`
- [34](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L34) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `SetUpgradeTag`
- [34](https://jonas-paprotka.de/ref/codeunit/104056-upgrade-workflow/source/#L34) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetWorkflowDelegatedAdminSetupTemplateUpgradeTag`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
