{"title":"Codeunit 6135 E-Document WorkFlow Processing, procedures","url":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-16","object":{"type":"codeunit","id":6135,"name":"E-Document WorkFlow Processing","app":"E-Document Core","versions":"23-29","url":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/","json":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing.json"},"aspect":"procedures","total":14,"rows":[{"name":"DoesFlowHasEDocService","sig":"(var Record E-Document Service, Code[20])","named":"(var EDocServices: Record \"E-Document Service\"; WorkfLowCode: Code[20])","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":27,"named":"(var EDocServices: Record \"E-Document Service\"; WorkfLowCode: Code[20])","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null},{"from":28,"to":29,"named":"(var EDocServices: Record \"E-Document Service\"; WorkfLowCode: Code[20])","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"SendEDocument","sig":"(var Record E-Document, Record Workflow Step Instance)","named":"(var EDocument: Record \"E-Document\"; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-26","first":23,"last":26,"obsoleteSince":null,"spans":[{"from":23,"to":26,"named":"(var EDocument: Record \"E-Document\"; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"SendEDocument","sig":"(var Record E-Document, Record E-Document Service)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"HandleNextEvent","sig":"(var Record E-Document)","named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-26","first":23,"last":26,"obsoleteSince":null,"spans":[{"from":23,"to":26,"named":"(var EDocument: Record \"E-Document\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"AddFilter","sig":"(var Text, Text)","named":"(var Filter: Text; Value: Text)","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var Filter: Text; Value: Text)","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"IsServiceUsedInActiveWorkflow","sig":"(Record E-Document Service)","named":"(EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"26-29","first":26,"last":29,"obsoleteSince":null,"spans":[{"from":26,"to":29,"named":"(EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetEDocumentServicesInWorkflow","sig":"(Record Workflow, var Record E-Document Service)","named":"(WorkFlow: Record Workflow; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"26","first":26,"last":26,"obsoleteSince":null,"spans":[{"from":26,"to":26,"named":"(WorkFlow: Record Workflow; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"SendEDocFromEmail","sig":"(var RecordRef, Record Workflow Step Instance, Enum Document Sending Profile Attachment Type)","named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\"; Attachment: Enum \"Document Sending Profile Attachment Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\"; Attachment: Enum \"Document Sending Profile Attachment Type\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetEDocumentServiceFromPreviousSendOrExportResponse","sig":"(Record Workflow Step Instance, var Record E-Document Service)","named":"(WorkflowStepInstance: Record \"Workflow Step Instance\"; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(WorkflowStepInstance: Record \"Workflow Step Instance\"; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null}]},{"name":"GetServicesFromEntryPointResponseInWorkflow","sig":"(Record Workflow, var Record E-Document Service)","named":"(WorkFlow: Record Workflow; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":27,"named":"(WorkFlow: Record Workflow; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"internal","obsolete":null},{"from":28,"to":29,"named":"(WorkFlow: Record Workflow; var EDocumentService: Record \"E-Document Service\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetEDocumentFromRecordRef","sig":"(var RecordRef, var Record E-Document)","named":"(var RecordRef: RecordRef; var EDocument: Record \"E-Document\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var RecordRef: RecordRef; var EDocument: Record \"E-Document\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"SendEDocument","sig":"(var RecordRef, Record Workflow Step Instance)","named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"HandleNextEvent","sig":"(var Record E-Document, Record E-Document Service)","named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var EDocument: Record \"E-Document\"; EDocumentService: Record \"E-Document Service\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]},{"name":"ExportEDocument","sig":"(var RecordRef, Record Workflow Step Instance)","named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null,"range":"27-29","first":27,"last":29,"obsoleteSince":null,"spans":[{"from":27,"to":29,"named":"(var RecordRef: RecordRef; WorkflowStepInstance: Record \"Workflow Step Instance\")","returns":"","kind":"procedure","access":"internal","obsolete":null}]}]}