Codeunit 1540 "Workflow Webhook Setup"
Base Application · System.Automation
Across versions
- BC23-27present
- BC287 procedures added
- BC29-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · System.Automation · BC23-30 · source at ea08af5e · 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 25 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” (20 calls:
CreateCustomerApprovalWorkflow → RunWorkflowOnSendCustomerForApprovalCode,CreateGeneralJournalBatchApprovalWorkflow → RunWorkflowOnSendGeneralJournalBatchForApprovalCode,CreateGeneralJournalBatchApprovalWorkflowSteps → RunWorkflowOnGeneralJournalBatchBalancedCode, …) - Codeunit 1521 “Workflow Response Handling” (16 calls:
CreateApprovalWorkflow → AllowRecordUsageCode,CreateApprovalWorkflow → OpenDocumentCode,CreateApprovalWorkflow → ReleaseDocumentCode, …) - Codeunit 1541 “Workflow Webhook Events” (6 calls:
CreateApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode,CreateCustomerItemApprovalWorkflow → WorkflowWebhookResponseReceivedEventCode,CreateGeneralJournalWorkflowNotificationSteps → WorkflowWebhookResponseReceivedEventCode, …) - Codeunit 1542 “Workflow Webhook Responses” (6 calls:
CreateApprovalWorkflow → SendNotificationToWebhookCode,CreateCustomerItemApprovalWorkflow → SendNotificationToWebhookCode,CreateGeneralJournalBatchApprovalWorkflowSteps → 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, …)
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.