---
title: "Codeunit 1540 Workflow Webhook Setup, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/points/
object: https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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 1540 Workflow Webhook Setup, extension points 29

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

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

## CreateWorkflowDefinition

[Line 32](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L32).

- [37](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L37) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendCustomerForApprovalCode`
- [38](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L38) calls `CreateCustomerApprovalWorkflow`
- [39](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L39) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendItemForApprovalCode`
- [40](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L40) calls `CreateItemApprovalWorkflow`
- [41](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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/1540-workflow-webhook-setup/source/#L42) calls `CreateGeneralJournalBatchApprovalWorkflow`
- [43](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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/1540-workflow-webhook-setup/source/#L44) calls `CreateGeneralJournalLineApprovalWorkflow`
- [45](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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/1540-workflow-webhook-setup/source/#L46) calls `CreateItemJournalBatchApprovalWorkflow`
- [47](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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/1540-workflow-webhook-setup/source/#L48) calls `CreateRequisitionWkshBatchApprovalWorkflow`
- [49](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/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/1540-workflow-webhook-setup/source/#L50) calls `CreateFAJournalBatchApprovalWorkflow`
- [51](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L51) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendPurchaseDocForApprovalCode`
- [52](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L52) calls `CreatePurchaseDocumentApprovalWorkflow`
- [53](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L53) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendSalesDocForApprovalCode`
- [54](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L54) calls `CreateSalesDocumentApprovalWorkflow`
- [55](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L55) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendVendorForApprovalCode`
- [56](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L56) calls `CreateVendorApprovalWorkflow`

## CreateApprovalWorkflow

[Line 62](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L62), local.

- [76](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L76) calls `InitializeWorkflow`
- [78](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L78) calls `CreateEventStep`
- [79](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L79) calls `CreateResponseStep`
- [79](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L79) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [80](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L80) calls `CreateResponseStep`
- [80](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L80) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `SetStatusToPendingApprovalCode`
- [81](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L81) calls `CreateResponseStep`
- [81](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L81) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [84](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L84) calls `CreateEventCondition`
- [85](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L85) calls `CreateEventStep`
- [85](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L85) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [87](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L87) calls `CreateResponseStep`
- [87](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L87) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [88](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L88) calls `CreateResponseStep`
- [88](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L88) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `ReleaseDocumentCode`
- [90](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L90) calls `CreateEventCondition`
- [91](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L91) calls `CreateEventStep`
- [91](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L91) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [93](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L93) calls `CreateResponseStep`
- [93](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L93) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `OpenDocumentCode`
- [95](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L95) calls `CreateEventCondition`
- [96](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L96) calls `CreateEventStep`
- [96](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L96) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [98](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L98) calls `CreateResponseStep`
- [98](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L98) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [99](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L99) calls `CreateResponseStep`
- [99](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L99) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `OpenDocumentCode`

## CreateCustomerItemApprovalWorkflow

[Line 102](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L102), local.

- [116](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L116) calls `InitializeWorkflow`
- [118](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L118) calls `CreateEventStep`
- [119](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L119) calls `CreateResponseStep`
- [119](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L119) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [120](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L120) calls `CreateResponseStep`
- [120](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L120) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [123](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L123) calls `CreateEventCondition`
- [124](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L124) calls `CreateEventStep`
- [124](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L124) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [126](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L126) calls `CreateResponseStep`
- [126](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L126) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [128](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L128) calls `CreateEventCondition`
- [129](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L129) calls `CreateEventStep`
- [129](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L129) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [132](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L132) calls `CreateEventCondition`
- [133](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L133) calls `CreateEventStep`
- [133](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L133) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [135](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L135) calls `CreateResponseStep`
- [135](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L135) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`

## CreateGeneralJournalBatchApprovalWorkflowSteps

[Line 138](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L138), local.

- [153](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L153) calls `InitializeWorkflow`
- [155](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L155) calls `CreateEventStep`
- [156](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L156) calls `CreateResponseStep`
- [156](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L156) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `CheckGeneralJournalBatchBalanceCode`
- [158](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L158) calls `CreateEventStep`
- [158](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L158) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnGeneralJournalBatchBalancedCode`
- [159](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L159) calls `CreateResponseStep`
- [159](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L159) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [160](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L160) calls `CreateResponseStep`
- [160](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L160) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [163](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L163) calls `CreateGeneralJournalWorkflowNotificationSteps`
- [166](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L166) calls `CreateEventStep`
- [167](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L167) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnGeneralJournalBatchNotBalancedCode`
- [169](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L169) calls `CreateResponseStep`
- [169](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L169) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `ShowMessageCode`
- [174](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L174) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `GetGeneralJournalBatchIsNotBalancedMsg`
- [175](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L175) writes [Table 1523 Workflow Step Argument](https://jonas-paprotka.de/ref/table/1523-workflow-step-argument/) Modify(true)

## CreateGeneralJournalLineApprovalWorkflowSteps

[Line 178](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L178), local.

- [188](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L188) calls `InitializeWorkflow`
- [190](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L190) calls `CreateEventStep`
- [191](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L191) calls `CreateResponseStep`
- [191](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L191) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [192](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L192) calls `CreateResponseStep`
- [192](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L192) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [195](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L195) calls `CreateGeneralJournalWorkflowNotificationSteps`

## CreateItemJournalBatchApprovalWorkflowSteps

[Line 198](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L198), local.

- [208](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L208) calls `InitializeWorkflow`
- [210](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L210) calls `CreateEventStep`
- [211](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L211) calls `CreateResponseStep`
- [211](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L211) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [212](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L212) calls `CreateResponseStep`
- [212](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L212) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [215](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L215) calls `CreateItemJournalWorkflowNotificationSteps`

## CreateRequisitionWkshBatchApprovalWorkflowSteps

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

- [228](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L228) calls `InitializeWorkflow`
- [230](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L230) calls `CreateEventStep`
- [231](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L231) calls `CreateResponseStep`
- [231](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L231) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [232](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L232) calls `CreateResponseStep`
- [232](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L232) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [235](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L235) calls `CreateRequisitionWkshWorkflowNotificationSteps`

## CreateFAJournalBatchApprovalWorkflowSteps

[Line 238](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L238), local.

- [248](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L248) calls `InitializeWorkflow`
- [250](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L250) calls `CreateEventStep`
- [251](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L251) calls `CreateResponseStep`
- [251](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L251) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `RestrictRecordUsageCode`
- [252](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L252) calls `CreateResponseStep`
- [252](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L252) calls [Codeunit 1542 Workflow Webhook Responses](https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/) `SendNotificationToWebhookCode`
- [255](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L255) calls `CreateFAJournalWorkflowNotificationSteps`

## CreateArgumentForEvent

[Line 258](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L258), local.

- [272](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L272) writes [Table 1523 Workflow Step Argument](https://jonas-paprotka.de/ref/table/1523-workflow-step-argument/) Insert

## CreateArgumentForResponse

[Line 276](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L276), local.

- [290](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L290) writes [Table 1523 Workflow Step Argument](https://jonas-paprotka.de/ref/table/1523-workflow-step-argument/) Insert

## CreateEventCondition

[Line 294](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L294), local.

- [304](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L304) calls `GetTableCaption`
- [307](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L307) calls [Codeunit 1530 Request Page Parameters Helper](https://jonas-paprotka.de/ref/codeunit/1530-request-page-parameters-helper/) `GetViewFromDynamicRequestPage`

## CreateEventStep

[Line 310](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L310), local.

- [320](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L320) calls `CreateArgumentForEvent`
- [322](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L322) writes [Table 1502 Workflow Step](https://jonas-paprotka.de/ref/table/1502-workflow-step/) Insert

## CreateResponseStep

[Line 327](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L327), local.

- [337](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L337) calls `CreateArgumentForResponse`
- [340](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L340) writes [Table 1502 Workflow Step](https://jonas-paprotka.de/ref/table/1502-workflow-step/) Insert

## CreateCustomerApprovalWorkflow

[Line 344](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L344), local.

- [356](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L356) calls `CreateCustomerItemApprovalWorkflow`
- [357](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L357) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendCustomerForApprovalCode`

## CreateGeneralJournalWorkflowNotificationSteps

[Line 362](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L362), local.

- [373](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L373) calls `CreateEventCondition`
- [374](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L374) calls `CreateEventStep`
- [374](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L374) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [376](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L376) calls `CreateResponseStep`
- [376](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L376) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [378](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L378) calls `CreateEventCondition`
- [379](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L379) calls `CreateEventStep`
- [379](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L379) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [382](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L382) calls `CreateEventCondition`
- [383](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L383) calls `CreateEventStep`
- [383](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L383) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`

## CreateGeneralJournalBatchApprovalWorkflow

[Line 387](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L387), local.

- [399](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L399) calls `CreateGeneralJournalBatchApprovalWorkflowSteps`
- [400](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L400) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendGeneralJournalBatchForApprovalCode`

## CreateGeneralJournalLineApprovalWorkflow

[Line 405](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L405), local.

- [417](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L417) calls `CreateGeneralJournalLineApprovalWorkflowSteps`
- [418](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L418) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendGeneralJournalLineForApprovalCode`

## CreateItemJournalWorkflowNotificationSteps

[Line 423](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L423), local.

- [434](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L434) calls `CreateEventCondition`
- [435](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L435) calls `CreateEventStep`
- [435](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L435) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [436](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L436) calls `CreateResponseStep`
- [436](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L436) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [438](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L438) calls `CreateEventCondition`
- [439](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L439) calls `CreateEventStep`
- [439](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L439) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [441](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L441) calls `CreateEventCondition`
- [442](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L442) calls `CreateEventStep`
- [442](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L442) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`

## CreateItemJournalBatchApprovalWorkflow

[Line 445](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L445), local.

- [457](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L457) calls `CreateItemJournalBatchApprovalWorkflowSteps`
- [457](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L457) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendItemJournalBatchForApprovalCode`

## CreateRequisitionWkshWorkflowNotificationSteps

[Line 462](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L462), local.

- [473](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L473) calls `CreateEventCondition`
- [474](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L474) calls `CreateEventStep`
- [474](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L474) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [475](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L475) calls `CreateResponseStep`
- [475](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L475) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [477](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L477) calls `CreateEventCondition`
- [478](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L478) calls `CreateEventStep`
- [478](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L478) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [480](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L480) calls `CreateEventCondition`
- [481](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L481) calls `CreateEventStep`
- [481](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L481) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`

## CreateRequisitionWkshBatchApprovalWorkflow

[Line 484](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L484), local.

- [496](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L496) calls `CreateRequisitionWkshBatchApprovalWorkflowSteps`
- [496](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L496) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendRequisitionWkshBatchForApprovalCode`

## CreateFAJournalWorkflowNotificationSteps

[Line 501](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L501), local.

- [512](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L512) calls `CreateEventCondition`
- [513](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L513) calls `CreateEventStep`
- [513](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L513) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [514](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L514) calls `CreateResponseStep`
- [514](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L514) calls [Codeunit 1521 Workflow Response Handling](https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/) `AllowRecordUsageCode`
- [516](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L516) calls `CreateEventCondition`
- [517](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L517) calls `CreateEventStep`
- [517](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L517) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [519](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L519) calls `CreateEventCondition`
- [520](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L520) calls `CreateEventStep`
- [520](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L520) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`

## CreateFAJournalBatchApprovalWorkflow

[Line 523](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L523), local.

- [535](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L535) calls `CreateFAJournalBatchApprovalWorkflowSteps`
- [535](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L535) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendFAJournalBatchForApprovalCode`

## CreateItemApprovalWorkflow

[Line 540](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L540), local.

- [552](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L552) calls `CreateCustomerItemApprovalWorkflow`
- [553](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L553) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendItemForApprovalCode`

## CreatePurchaseDocumentApprovalWorkflow

[Line 558](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L558), local.

- [570](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L570) calls `CreateApprovalWorkflow`
- [571](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L571) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendPurchaseDocForApprovalCode`

## CreateSalesDocumentApprovalWorkflow

[Line 576](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L576), local.

- [588](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L588) calls `CreateApprovalWorkflow`
- [589](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L589) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendSalesDocForApprovalCode`

## CreateVendorApprovalWorkflow

[Line 594](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L594), local.

- [606](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L606) calls `CreateCustomerItemApprovalWorkflow`
- [607](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L607) calls [Codeunit 1520 Workflow Event Handling](https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/) `RunWorkflowOnSendVendorForApprovalCode`

## InitializeWorkflow

[Line 620](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L620), local.

- [627](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L627) calls [Codeunit 1541 Workflow Webhook Events](https://jonas-paprotka.de/ref/codeunit/1541-workflow-webhook-events/) `WorkflowWebhookResponseReceivedEventCode`
- [628](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L628) calls [Codeunit 1502 Workflow Setup](https://jonas-paprotka.de/ref/codeunit/1502-workflow-setup/) `InitWorkflow`
- [636](https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/source/#L636) writes [Table 1501 Workflow](https://jonas-paprotka.de/ref/table/1501-workflow/) Insert

## Source

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

JOP-AL, 2026-11-20.
