Codeunit 1543 Workflow Webhook Management

Base Application, System.Automation

src/Layers/W1/BaseApp/System/Workflow/WorkflowWebhookManagement.Codeunit.al21 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CanRequestApproval line 71

  1. 74callsHasPendingWorkflowWebhookEntryByRecordId

GetCanRequestAndCanCancel line 77

  1. 81callsFindWorkflowWebhookEntryByRecordIdAndResponse
  2. 82callsCanCancel

GetCanRequestAndCanCancelJournalBatch line 90

  1. 98callsGetCanRequestAndCanCancel

Cancel line 125

  1. 127callsVerifyResponseExpected
  2. 129callsCanCancel
  3. 132validatesTable 467 Workflow Webhook Entry Response
  4. 133writesTable 467 Workflow Webhook Entry Modify(true)
  5. 135raisesOnCancelWorkflow

CancelByStepInstanceId line 138

  1. 142callsFindWorkflowWebhookEntryByStepInstance
  2. 145callsCancel

CanContinue line 148

  1. 150callsTryCheckCanContinue

TryCheckCanContinue line 154, local

  1. 156callsVerifyCanAct

CanReject line 159

  1. 161callsTryCheckCanReject

TryCheckCanReject line 165, local

  1. 167callsVerifyCanAct

Continue line 170

  1. 172callsVerifyResponseExpected
  2. 173callsTryCheckCanContinue
  3. 175validatesTable 467 Workflow Webhook Entry Response
  4. 176writesTable 467 Workflow Webhook Entry Modify(true)
  5. 178raisesOnContinueWorkflow

ContinueByStepInstanceId line 181

  1. 185callsFindWorkflowWebhookEntryByStepInstance
  2. 188callsContinue

GenerateRequest line 191

  1. 195callsCreateWorkflowWebhookEntry
  2. 197callsSendWebhookNotificaton

Reject line 200

  1. 202callsVerifyResponseExpected
  2. 204callsTryCheckCanReject
  3. 206validatesTable 467 Workflow Webhook Entry Response
  4. 207writesTable 467 Workflow Webhook Entry Modify(true)
  5. 209raisesOnRejectWorkflow

RejectByStepInstanceId line 212

  1. 216callsFindWorkflowWebhookEntryByStepInstance
  2. 219callsReject

SendWebhookNotificaton line 222

  1. 227callsCodeunit 1545 Workflow Webhook Notification StartNotification
  2. 230raisesOnFindTaskSchedulerAllowed
  3. 236runsCodeunit 1546 Workflow Webhook Notify Task

CreateWorkflowWebhookEntry line 260, local

  1. 280callsGetInitialResponseValue
  2. 342writesTable 467 Workflow Webhook Entry Insert(true)

GetInitialResponseValue line 345, local

  1. 364callsCodeunit 1541 Workflow Webhook Events WorkflowWebhookResponseReceivedEventCode

GetDirectApproverForRequestor line 397

  1. 407callsGetUserBasedOnEmail

FindAndCancel line 431

  1. 437callsFindWorkflowWebhookEntryByRecordIdAndResponse
  2. 438callsCanCancel
  3. 440callsCancel

DeleteWorkflowWebhookEntries line 443

  1. 447callsFindWorkflowWebhookEntryByRecordIdAndResponse
  2. 448callsVerifyResponseExpected
  3. 450callsCanCancel
  4. 455writesTable 467 Workflow Webhook Entry DeleteAll

RenameRecord line 459

  1. 465writesTable 467 Workflow Webhook Entry ModifyAll