Codeunit 1543 "Workflow Webhook Management"
Base Application · System.Automation
Across versions
- BC23present
- BC241 events changed
- BC25-30unchanged
Neighbourhood 38 connected objects and pages
Base Application · System.Automation · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Workflow Webhook Entry” = rimd |
Events published
OnCancelWorkflow(WorkflowWebhookEntry: Record "Workflow Webhook Entry"; OnDeletion: Boolean)Δ BC24 (integration)- subscribers: Codeunit 1541 “Workflow Webhook Events” HandleOnCancelWorkflow
OnContinueWorkflow(WorkflowWebhookEntry: Record "Workflow Webhook Entry")(integration)- subscribers: Codeunit 1541 “Workflow Webhook Events” HandleOnContinueWorkflow
OnRejectWorkflow(WorkflowWebhookEntry: Record "Workflow Webhook Entry")(integration)- subscribers: Codeunit 1541 “Workflow Webhook Events” HandleOnRejectWorkflow
OnFindTaskSchedulerAllowed(var IsTaskSchedulingAllowed: Boolean)(integration)
Procedures
CanCancel(WorkflowWebhookEntry: Record "Workflow Webhook Entry"): BooleanCanRequestApproval(RecordId: RecordID): BooleanGetCanRequestAndCanCancel(RecordId: RecordID; var CanRequestApprovalForFlow: Boolean; var CanCancelApprovalForFlow: Boolean)GetCanRequestAndCanCancelJournalBatch(GenJournalBatch: Record "Gen. Journal Batch"; var CanRequestBatchApproval: Boolean; var CanCancelBatchApproval: Boolean; var CanRequestLineApprovals: Boolean)Cancel(var WorkflowWebhookEntry: Record "Workflow Webhook Entry")Cancel(var WorkflowWebhookEntry: Record "Workflow Webhook Entry"; OnDeletion: Boolean)CancelByStepInstanceId(Id: Guid)CanContinue(WorkflowWebhookEntry: Record "Workflow Webhook Entry"): BooleanCanReject(WorkflowWebhookEntry: Record "Workflow Webhook Entry"): BooleanContinue(var WorkflowWebhookEntry: Record "Workflow Webhook Entry")ContinueByStepInstanceId(Id: Guid)GenerateRequest(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")Reject(var WorkflowWebhookEntry: Record "Workflow Webhook Entry")RejectByStepInstanceId(Id: Guid)SendWebhookNotificaton(WorkflowStepInstance: Record "Workflow Step Instance")FindWorkflowWebhookEntryByRecordIdAndResponse(var WorkflowWebhookEntry: Record "Workflow Webhook Entry"; RecordId: RecordID; ResponseStatus: Option): BooleanHasPendingWorkflowWebhookEntryByRecordId(RecordId: RecordID): BooleanGetDirectApproverForRequestor(RequestorEmailAddress: Text): TextFindAndCancel(RecordId: RecordID)FindAndCancel(RecordId: RecordID; OnDeletion: Boolean)DeleteWorkflowWebhookEntries(RecordId: RecordID)RenameRecord(OldRecordId: RecordID; NewRecordId: RecordID)
Plus 8 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 1541 “Workflow Webhook Events” (1 call:
GetInitialResponseValue → WorkflowWebhookResponseReceivedEventCode) - Codeunit 1545 “Workflow Webhook Notification” (1 call:
SendWebhookNotificaton → StartNotification) - Codeunit 1546 “Workflow Webhook Notify Task” (1 call:
SendWebhookNotificaton → (object))
Called by
- Codeunit 1541 “Workflow Webhook Events” (10 calls:
HandleOnCancelCustomerApprovalRequest → FindAndCancel,HandleOnCancelGeneralJournalBatchApprovalRequest → FindAndCancel,HandleOnCancelGeneralJournalLineApprovalRequest → FindAndCancel, …) - Codeunit 1535 “Approvals Mgmt.” (7 calls:
PreventDeletingRecordWithOpenApprovalEntry → HasPendingWorkflowWebhookEntryByRecordId,PreventInsertRecIfOpenApprovalEntryExist → HasPendingWorkflowWebhookEntryByRecordId,PreventModifyRecIfOpenApprovalEntryExist → HasPendingWorkflowWebhookEntryByRecordId, …) - Codeunit 1544 “Workflow Webhook Subscription” (4 calls:
Approve → ContinueByStepInstanceId,Cancel → CancelByStepInstanceId,GetDirectApprover → GetDirectApproverForRequestor, …) - Page 255 “Cash Receipt Journal” (2 calls:
SetApprovalStateForBatch → GetCanRequestAndCanCancelJournalBatch,SetControlAppearance → GetCanRequestAndCanCancel) - Page 256 “Payment Journal” (2 calls:
SetApprovalStateForBatch → GetCanRequestAndCanCancelJournalBatch,SetControlAppearance → GetCanRequestAndCanCancel) - Page 39 “General Journal” (2 calls:
SetApprovalState → GetCanRequestAndCanCancel,SetApprovalStateForBatch → GetCanRequestAndCanCancelJournalBatch) - Codeunit 1542 “Workflow Webhook Responses” (1 call:
SendNotificationToWebhook → GenerateRequest) - Page 21 “Customer Card” (1 call:
OnAfterGetCurrRecordFunc → GetCanRequestAndCanCancel) - Page 22 “Customer List” (1 call:
OnAfterGetCurrRecord → GetCanRequestAndCanCancel) - Page 253 “Sales Journal” (1 call:
SetApprovalState → GetCanRequestAndCanCancel) - Page 254 “Purchase Journal” (1 call:
SetApprovalState → GetCanRequestAndCanCancel) - Page 26 “Vendor Card” (1 call:
OnAfterGetCurrRecordFunc → GetCanRequestAndCanCancel) - Page 27 “Vendor List” (1 call:
OnAfterGetCurrRecord → GetCanRequestAndCanCancel) - Page 30 “Item Card” (1 call:
OnAfterGetCurrRecordFunc → GetCanRequestAndCanCancel) - Page 31 “Item List” (1 call:
OnAfterGetCurrRecord → GetCanRequestAndCanCancel) - Page 41 “Sales Quote” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 42 “Sales Order” (1 call:
SetControlVisibility → GetCanRequestAndCanCancel) - Page 425 “Vendor Bank Account Card” (1 call:
OnAfterGetCurrRecord → GetCanRequestAndCanCancel) - Page 426 “Vendor Bank Account List” (1 call:
OnAfterGetCurrRecord → GetCanRequestAndCanCancel) - Page 43 “Sales Invoice” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 44 “Sales Credit Memo” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 49 “Purchase Quote” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 50 “Purchase Order” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 51 “Purchase Invoice” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 52 “Purchase Credit Memo” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 830 “Workflow Webhook Entries” (1 call:
OnAfterGetRecord → CanCancel) - Page 9300 “Sales Quotes” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 9301 “Sales Invoice List” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 9302 “Sales Credit Memos” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 9305 “Sales Order List” (1 call:
SetControlVisibility → GetCanRequestAndCanCancel) - Page 9307 “Purchase Order List” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 9308 “Purchase Invoices” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Page 9309 “Purchase Credit Memos” (1 call:
SetControlAppearance → GetCanRequestAndCanCancel) - Table 233 “Item Journal Batch” (1 call:
SetApprovalStateForBatch → GetCanRequestAndCanCancel) - Table 245 “Requisition Wksh. Name” (1 call:
SetApprovalStateForWkshBatch → GetCanRequestAndCanCancel)
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 Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.