Codeunit 1502 Workflow Setup

Base Application, System.Automation

Source AL, 2,786 lines

src/Layers/W1/BaseApp/System/Workflow/WorkflowSetup.Codeunit.allines 17 to 32 of 2,786, Copyright (c) Microsoft Corporation. MIT

codeunit 1502 "Workflow Setup"{    trigger OnRun()    begin    end;    var        WorkflowEventHandling: Codeunit "Workflow Event Handling";        WorkflowResponseHandling: Codeunit "Workflow Response Handling";        WorkflowRequestPageHandling: Codeunit "Workflow Request Page Handling";        BlankDateFormula: DateFormula;        CustomTemplateToken: Code[3];        MsTemplateTok: Label 'MS-', Locked = true;        MsWizardWorkflowTok: Label 'WZ-', Locked = true;        JobQueueEntryDescTxt: Label 'Auto-created for sending of delegated approval requests. Can be deleted if not used. Will be recreated when the feature is activated.';

All 2,786 lines

Events 5 in 29

[IntegrationEvent] OnInsertWorkflowTemplates()17-29
[IntegrationEvent] OnAddWorkflowCategoriesToLibrary()17-29
[IntegrationEvent] OnAfterInitWorkflowTemplates()17-29
[IntegrationEvent] OnAfterInsertApprovalsTableRelations()17-29
[InternalEvent] OnAllowEditOfWorkflowTemplates(var Allow: Boolean)new in 22

Public procedures 92 in 29

InitWorkflow()17-29
InsertWorkflowCategories()17-29
InsertWorkflowTemplate(var Workflow: Record Workflow; WorkflowCode: Code[17]; WorkflowDescription: Text[100]; CategoryCode: Code[20])17-29
InsertApprovalsTableRelations()17-29
InsertIncomingDocumentApprovalWorkflowTemplate()17-29
InsertOverdueApprovalsWorkflow(): Code[20]17-29

All 100 procedures in 17-29

Changes 2 in 29

List17181920212223242526272829
Procedures2362182
Events1
VendorBankWorkflowCode(): Code[17]new in 29
added
BuildVendorBankTypeConditions(): Textnew in 29
added

All 43 changes in 17-29