Codeunit 1540 "Workflow Webhook Setup"
Base Application · System.Automation
Across versions
- BC23-27present
- BC287 procedures added
- BC293 procedures added
- BC30unchanged
Neighbourhood 7 connected objects and pages
Base Application · System.Automation · BC23-30 · source at 4e6a307c · facts from BC29
Procedures
CreateWorkflowDefinition(EventCode: Code[128]; Name: Text[100]; EventConditions: Text; ResponseUserID: Code[50]): Code[20]GetSalesDocCategoryTxt(): Code[20]GetPurchaseDocCategoryTxt(): Code[20]GetPurchPayCategoryTxt(): Code[20]GetFinCategoryTxt(): Code[20]GetSalesMktCategoryTxt(): Code[20]GetInventoryCategoryTxt(): Code[20]+ BC28GetUnsupportedWorkflowEventCodeErr(): Text
Plus 28 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1520 “Workflow Event Handling” (22 calls:
CreateCustomerApprovalWorkflow → RunWorkflowOnSendCustomerForApprovalCode,CreateFAJournalBatchApprovalWorkflow → RunWorkflowOnSendFAJournalBatchForApprovalCode,CreateGeneralJournalBatchApprovalWorkflow → RunWorkflowOnSendGeneralJournalBatchForApprovalCode, …) - Codeunit 1521 “Workflow Response Handling” (18 calls:
CreateApprovalWorkflow → AllowRecordUsageCode,CreateApprovalWorkflow → OpenDocumentCode,CreateApprovalWorkflow → ReleaseDocumentCode, …) - Codeunit 1541 “Workflow Webhook Events” (7 calls:
CreateApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode,CreateCustomerItemApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode,CreateFAJournalWorkflowNotificationSteps → WorkflowWebhookResponseReceivedEventCode, …) - Codeunit 1542 “Workflow Webhook Responses” (7 calls:
CreateApprovalWorkflow → SendNotificationToWebhookCode,CreateCustomerItemApprovalWorkflow → SendNotificationToWebhookCode,CreateFAJournalBatchApprovalWorkflowSteps → SendNotificationToWebhookCode, …) - Codeunit 1502 “Workflow Setup” (2 calls:
CreateGeneralJournalBatchApprovalWorkflowSteps → GetGeneralJournalBatchIsNotBalancedMsg,InitializeWorkflow → InitWorkflow) - Codeunit 1530 “Request Page Parameters Helper” (1 call:
CreateEventCondition → GetViewFromDynamicRequestPage)
Called by
- Table 469 “Workflow Webhook Subscription” (7 calls:
CreateEventConditions → GetFinCategoryTxt,CreateEventConditions → GetPurchaseDocCategoryTxt,CreateEventConditions → GetPurchPayCategoryTxt, …)
Recent changes
- 2026-11-18 #11715 Slice 440258: Fixed Asset Journal Approval (main, BC30, feature)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Workflow Webhook Setup"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.