---
title: "Codeunit 1541 Workflow Webhook Events, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/points/
object: https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/
checked: 2026-11-20
changed: 2026-11-20
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 1541 Workflow Webhook Events, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/points/

19 procedures and triggers with a step in src/Layers/W1/BaseApp/System/Workflow/WorkflowWebhookEvents.Codeunit.al, in source order, read from the text, not from a run.

## AddWorkflowWebhookEventHierarchiesToLibrary

[Line 31](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L31), local.

- [36](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L36) calls `WorkflowWebhookResponseReceivedEventCode`
- [38](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L38) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [38](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L38) calls `WorkflowWebhookResponseReceivedEventCode`
- [39](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L39) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendCustomerForApprovalCode`
- [40](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L40) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [40](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L40) calls `WorkflowWebhookResponseReceivedEventCode`
- [41](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L41) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendGeneralJournalBatchForApprovalCode`
- [42](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L42) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [42](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L42) calls `WorkflowWebhookResponseReceivedEventCode`
- [43](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L43) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendGeneralJournalLineForApprovalCode`
- [44](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L44) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [44](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L44) calls `WorkflowWebhookResponseReceivedEventCode`
- [45](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L45) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendItemJournalBatchForApprovalCode`
- [46](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L46) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [46](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L46) calls `WorkflowWebhookResponseReceivedEventCode`
- [47](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L47) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendRequisitionWkshBatchForApprovalCode`
- [48](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L48) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [48](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L48) calls `WorkflowWebhookResponseReceivedEventCode`
- [49](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L49) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendFAJournalBatchForApprovalCode`
- [50](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L50) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [50](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L50) calls `WorkflowWebhookResponseReceivedEventCode`
- [51](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L51) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendItemForApprovalCode`
- [52](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L52) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [52](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L52) calls `WorkflowWebhookResponseReceivedEventCode`
- [53](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L53) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendPurchaseDocForApprovalCode`
- [54](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L54) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [54](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L54) calls `WorkflowWebhookResponseReceivedEventCode`
- [55](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L55) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendSalesDocForApprovalCode`
- [56](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L56) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventPredecessor`
- [56](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L56) calls `WorkflowWebhookResponseReceivedEventCode`
- [57](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L57) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendVendorForApprovalCode`

## AddWorkflowWebhookEventsToLibrary

[Line 63](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L63), local.

- [67](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L67) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `AddEventToLibrary`
- [67](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L67) calls `WorkflowWebhookResponseReceivedEventCode`

## AddWorkflowWebhookTableRelationsToLibrary

[Line 72](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L72), local.

- [87](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L87) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [89](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L89) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [91](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L91) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [93](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L93) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [95](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L95) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [97](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L97) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [99](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L99) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [101](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L101) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [103](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L103) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [105](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L105) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InsertTableRelation`
- [108](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L108) calls `CleanupOldIntegrationIdsTableRelation`

## CleanupOldIntegrationIdsTableRelation

[Line 111](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L111).

- [127](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L127) calls `CleanupIntegrationRecordTableRelation`
- [128](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L128) calls `CleanupIntegrationRecordTableRelation`
- [129](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L129) calls `CleanupIntegrationRecordTableRelation`
- [130](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L130) calls `CleanupIntegrationRecordTableRelation`
- [131](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L131) calls `CleanupIntegrationRecordTableRelation`
- [132](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L132) calls `CleanupIntegrationRecordTableRelation`
- [133](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L133) calls `CleanupIntegrationRecordTableRelation`
- [134](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L134) calls `CleanupIntegrationRecordTableRelation`
- [135](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L135) calls `CleanupIntegrationRecordTableRelation`
- [136](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L136) calls `CleanupIntegrationRecordTableRelation`
- [138](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L138) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `HasUpgradeTag`
- [138](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L138) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetRemoveOldWorkflowTableRelationshipRecordsTag`
- [139](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L139) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `SetUpgradeTag`
- [139](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L139) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetRemoveOldWorkflowTableRelationshipRecordsTag`

## CleanupIntegrationRecordTableRelation

[Line 142](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L142), local.

- [154](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L154) writes [Table 1505 Workflow - Table Relation](https://jonas-paprotka.de/ref/table/1505-workflow-table-relation/) Delete(true)

## HandleOnCancelWorkflow

[Line 158](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L158), local.

- [162](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L162) calls [Codeunit 1501 Workflow Management](https://jonas-paprotka.de/ref/codeunit/1501-workflow-management/) `HandleEvent`
- [162](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L162) calls `WorkflowWebhookResponseReceivedEventCode`

## HandleOnContinueWorkflow

[Line 166](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L166), local.

- [170](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L170) calls [Codeunit 1501 Workflow Management](https://jonas-paprotka.de/ref/codeunit/1501-workflow-management/) `HandleEvent`
- [170](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L170) calls `WorkflowWebhookResponseReceivedEventCode`

## HandleOnRejectWorkflow

[Line 174](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L174), local.

- [178](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L178) calls [Codeunit 1501 Workflow Management](https://jonas-paprotka.de/ref/codeunit/1501-workflow-management/) `HandleEvent`
- [178](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L178) calls `WorkflowWebhookResponseReceivedEventCode`

## HandleOnCancelCustomerApprovalRequest

[Line 182](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L182), local.

- [187](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L187) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelItemApprovalRequest

[Line 191](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L191), local.

- [196](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L196) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelGeneralJournalBatchApprovalRequest

[Line 200](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L200), local.

- [205](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L205) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelGeneralJournalLineApprovalRequest

[Line 209](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L209), local.

- [214](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L214) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelItemJournalBatchApprovalRequest

[Line 218](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L218), local.

- [223](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L223) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelRequisitionWkshBatchApprovalRequest

[Line 227](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L227), local.

- [232](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L232) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelFAJournalBatchApprovalRequest

[Line 236](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L236), local.

- [241](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L241) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelVendorApprovalRequest

[Line 245](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L245), local.

- [250](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L250) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnCancelVendorBankAccountApprovalRequest

[Line 254](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L254), local.

- [259](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L259) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `FindAndCancel`

## HandleOnDeleteRecordInApprovalRequest

[Line 263](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L263), local.

- [267](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L267) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `DeleteWorkflowWebhookEntries`

## HandleOnRenameRecordInApprovalRequest

[Line 271](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L271), local.

- [275](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/source/#L275) calls [Codeunit 1543 Workflow Webhook Management](https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/) `RenameRecord`

## Source

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

JOP-AL, 2026-11-20.
