{"title":"Codeunit 1542 Workflow Webhook Responses, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-11-20","object":{"type":"codeunit","id":1542,"name":"Workflow Webhook Responses","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1542-workflow-webhook-responses/source/","path":"src/Layers/W1/BaseApp/System/Workflow/WorkflowWebhookResponses.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:1521":{"name":"Workflow Response Handling","url":"https://jonas-paprotka.de/ref/codeunit/1521-workflow-response-handling/"},"codeunit:1520":{"name":"Workflow Event Handling","url":"https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/"},"codeunit:1543":{"name":"Workflow Webhook Management","url":"https://jonas-paprotka.de/ref/codeunit/1543-workflow-webhook-management/"}},"procs":[{"name":"AddWorkflowWebhookEventResponseCombinationsToLibrary","line":19,"kind":"procedure","access":"local","params":1,"steps":[[25,"call","SendNotificationToWebhookCode",0],[27,"ext","codeunit",1521,"AddResponsePredecessor",2],[27,"call","SendNotificationToWebhookCode",0],[28,"ext","codeunit",1520,"RunWorkflowOnSendCustomerForApprovalCode",0],[29,"ext","codeunit",1521,"AddResponsePredecessor",2],[29,"call","SendNotificationToWebhookCode",0],[30,"ext","codeunit",1520,"RunWorkflowOnSendGeneralJournalBatchForApprovalCode",0],[31,"ext","codeunit",1521,"AddResponsePredecessor",2],[31,"call","SendNotificationToWebhookCode",0],[32,"ext","codeunit",1520,"RunWorkflowOnSendGeneralJournalLineForApprovalCode",0],[33,"ext","codeunit",1521,"AddResponsePredecessor",2],[33,"call","SendNotificationToWebhookCode",0],[34,"ext","codeunit",1520,"RunWorkflowOnSendItemJournalBatchForApprovalCode",0],[35,"ext","codeunit",1521,"AddResponsePredecessor",2],[35,"call","SendNotificationToWebhookCode",0],[36,"ext","codeunit",1520,"RunWorkflowOnSendRequisitionWkshBatchForApprovalCode",0],[37,"ext","codeunit",1521,"AddResponsePredecessor",2],[37,"call","SendNotificationToWebhookCode",0],[38,"ext","codeunit",1520,"RunWorkflowOnSendFAJournalBatchForApprovalCode",0],[39,"ext","codeunit",1521,"AddResponsePredecessor",2],[39,"call","SendNotificationToWebhookCode",0],[40,"ext","codeunit",1520,"RunWorkflowOnSendItemForApprovalCode",0],[41,"ext","codeunit",1521,"AddResponsePredecessor",2],[41,"call","SendNotificationToWebhookCode",0],[42,"ext","codeunit",1520,"RunWorkflowOnSendPurchaseDocForApprovalCode",0],[43,"ext","codeunit",1521,"AddResponsePredecessor",2],[43,"call","SendNotificationToWebhookCode",0],[44,"ext","codeunit",1520,"RunWorkflowOnSendSalesDocForApprovalCode",0],[45,"ext","codeunit",1521,"AddResponsePredecessor",2],[45,"call","SendNotificationToWebhookCode",0],[46,"ext","codeunit",1520,"RunWorkflowOnSendVendorForApprovalCode",0]]},{"name":"AddWorkflowWebhookResponsesToLibrary","line":52,"kind":"procedure","access":"local","params":0,"steps":[[56,"ext","codeunit",1521,"AddResponseToLibrary",4],[56,"call","SendNotificationToWebhookCode",0]]},{"name":"ExecuteWorkflowWebhookResponses","line":60,"kind":"procedure","access":"local","params":4,"steps":[[66,"call","SendNotificationToWebhookCode",0],[68,"call","SendNotificationToWebhook",2]]},{"name":"SendNotificationToWebhook","line":74,"kind":"procedure","access":"local","params":2,"steps":[[80,"ext","codeunit",1543,"GenerateRequest",2]]}]}