{"title":"Table 469 Workflow Webhook Subscription, extension points 29","url":"https://jonas-paprotka.de/ref/table/469-workflow-webhook-subscription/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-10-05","object":{"type":"table","id":469,"name":"Workflow Webhook Subscription","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/469-workflow-webhook-subscription/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/469-workflow-webhook-subscription/source/","path":"src/Layers/W1/BaseApp/System/Workflow/WorkflowWebhookSubscription.Table.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":{"table:1542":{"name":"Workflow Webhook Sub Buffer","url":"https://jonas-paprotka.de/ref/table/1542-workflow-webhook-sub-buffer/"},"codeunit:1547":{"name":"Workflow Webhook Sub Delete","url":"https://jonas-paprotka.de/ref/codeunit/1547-workflow-webhook-sub-delete/"},"codeunit:1540":{"name":"Workflow Webhook Setup","url":"https://jonas-paprotka.de/ref/codeunit/1540-workflow-webhook-setup/"},"table:469":{"name":"Workflow Webhook Subscription","url":"https://jonas-paprotka.de/ref/table/469-workflow-webhook-subscription/"},"table:1501":{"name":"Workflow","url":"https://jonas-paprotka.de/ref/table/1501-workflow/"},"codeunit:1520":{"name":"Workflow Event Handling","url":"https://jonas-paprotka.de/ref/codeunit/1520-workflow-event-handling/"},"codeunit:1530":{"name":"Request Page Parameters Helper","url":"https://jonas-paprotka.de/ref/codeunit/1530-request-page-parameters-helper/"},"codeunit:5459":{"name":"JSON Management","url":"https://jonas-paprotka.de/ref/codeunit/5459-json-management/"},"table:710":{"name":"Activity Log","url":"https://jonas-paprotka.de/ref/table/710-activity-log/"}},"procs":[{"name":"OnDelete","line":81,"kind":"trigger","steps":[[92,"write",1542,"Insert"],[95,"event","OnFindTaskSchedulerAllowed",0],[101,"run","codeunit",1547]]},{"name":"OnModify","line":112,"kind":"trigger","steps":[[118,"call","IsInsert",0],[126,"call","DisableWorkflow",1],[131,"call","DisableWorkflow",1],[135,"call","CreateWorkflowDefinition",0],[136,"call","EnableSubscriptionAndWorkflow",1]]},{"name":"CreateWorkflowDefinition","line":187,"kind":"procedure","access":"local","params":0,"steps":[[191,"call","CreateEventConditions",2],[191,"call","GetConditions",0],[194,"ext","codeunit",1540,"CreateWorkflowDefinition",4]]},{"name":"EnableSubscription","line":203,"kind":"procedure","access":"local","params":1,"steps":[[207,"write",469,"Modify"]]},{"name":"EnableWorkflow","line":210,"kind":"procedure","access":"local","params":1,"steps":[[216,"validate",1501,"Enabled"],[217,"write",1501,"Modify"]]},{"name":"DisableWorkflow","line":221,"kind":"procedure","access":"local","params":1,"steps":[[227,"validate",1501,"Enabled"],[228,"write",1501,"Modify"]]},{"name":"EnableSubscriptionAndWorkflow","line":232,"kind":"procedure","access":"local","params":1,"steps":[[235,"call","EnableSubscription",1],[236,"call","EnableWorkflow",1]]},{"name":"CreateEventConditions","line":240,"kind":"procedure","params":2,"steps":[[250,"call","TryDecodeConditions",1],[251,"call","SendAndLogError",2],[253,"call","TryParseJson",2],[254,"call","SendAndLogError",2],[258,"ext","codeunit",1520,"RunWorkflowOnSendSalesDocForApprovalCode",0],[260,"call","AddEventConditionsWrapper",5],[262,"call","AddEventConditionsWrapper",5],[265,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[266,"ext","codeunit",1540,"GetSalesDocCategoryTxt",0],[268,"ext","codeunit",1520,"RunWorkflowOnSendPurchaseDocForApprovalCode",0],[270,"call","AddEventConditionsWrapper",5],[272,"call","AddEventConditionsWrapper",5],[275,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[276,"ext","codeunit",1540,"GetPurchaseDocCategoryTxt",0],[278,"ext","codeunit",1520,"RunWorkflowOnSendGeneralJournalBatchForApprovalCode",0],[280,"call","AddEventConditionsWrapper",5],[283,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[284,"ext","codeunit",1540,"GetFinCategoryTxt",0],[286,"ext","codeunit",1520,"RunWorkflowOnSendGeneralJournalLineForApprovalCode",0],[288,"call","AddEventConditionsWrapper",5],[291,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[292,"ext","codeunit",1540,"GetFinCategoryTxt",0],[294,"ext","codeunit",1520,"RunWorkflowOnSendCustomerForApprovalCode",0],[296,"call","AddEventConditionsWrapper",5],[299,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[300,"ext","codeunit",1540,"GetSalesMktCategoryTxt",0],[302,"ext","codeunit",1520,"RunWorkflowOnSendItemForApprovalCode",0],[304,"call","AddEventConditionsWrapper",5],[307,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[308,"ext","codeunit",1540,"GetSalesMktCategoryTxt",0],[310,"ext","codeunit",1520,"RunWorkflowOnSendVendorForApprovalCode",0],[312,"call","AddEventConditionsWrapper",5],[315,"ext","codeunit",1530,"GetViewFromDynamicRequestPage",3],[316,"ext","codeunit",1540,"GetPurchPayCategoryTxt",0],[319,"event","OnCreateWorkflowEventConditions",1],[323,"call","SendAndLogError",2],[324,"ext","codeunit",1540,"GetUnsupportedWorkflowEventCodeErr",0],[325,"ext","codeunit",1540,"GetUnsupportedWorkflowEventCodeErr",0]]},{"name":"AddEventConditionsWrapper","line":330,"kind":"procedure","access":"local","params":5,"steps":[[335,"call","TryInitializeCollection",1],[336,"call","SendAndLogError",2],[337,"call","AddEventConditions",4]]},{"name":"TryInitializeCollection","line":343,"kind":"procedure","access":"local","params":1,"steps":[[345,"ext","codeunit",5459,"InitializeCollectionFromJArray",1],[347,"ext","codeunit",5459,"GetCollectionCount",0]]},{"name":"AddEventConditions","line":351,"kind":"procedure","access":"local","params":4,"steps":[[377,"call","SendAndLogError",2],[377,"call","GetPageName",1]]},{"name":"TryParseJson","line":394,"kind":"procedure","access":"local","params":2,"steps":[[396,"ext","codeunit",5459,"InitializeObject",1],[397,"ext","codeunit",5459,"GetJSONObject",1]]},{"name":"SendAndLogError","line":409,"kind":"procedure","access":"local","params":2,"steps":[[416,"ext","table",710,"LogActivityForUser",6]]}]}