Codeunit 1545 Workflow Webhook Notification

Base Application, System.Automation

Source AL, 224 lines

src/Layers/W1/BaseApp/System/Workflow/WorkflowWebhookNotification.Codeunit.allines 7 to 22 of 224, Copyright (c) Microsoft Corporation. MIT

codeunit 1545 "Workflow Webhook Notification"{    // // Intended to be called from a Task (background session)    EventSubscriberInstance = Manual;    Permissions = TableData "Workflow Webhook Notification" = rimd;    trigger OnRun()    begin    end;    var        RetryCounter: Integer;        WaitTime: Integer;        IsInitialized: Boolean;        NotInitializedErr: Label 'The code unit is not initialized.';

All 224 lines

Events 1 in 29

[IntegrationEvent] OnPostNotificationRequest(DataID: Guid; WorkflowStepInstanceID: Guid; NotificationUrl: Text; RequestedByUserEmail: Text): Boolean17-29

Public procedures 5 in 29

Initialize(RetryCount: Integer; WaitTimeInMs: Integer)17-29
SendNotification(DataID: Guid; WorkflowStepInstanceID: Guid; NotificationUrl: Text; RequestedByUserEmail: Text)17-29
StartNotification(WorkflowStepInstanceID: Guid)17-29
GetCurrentRetryCounter(): Integer17-29
ShouldRetry(StatusCode: Integer; StatusDescription: Text): Boolean17-29