{"title":"Codeunit 6135 E-Document WorkFlow Processing","url":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/","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","changedSince":"2026-09-22","source":{"feed":"https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json","package":"Microsoft.E-DocumentCore.symbols.e1d97edc-c239-46b4-8d84-6368bdf67c8b","build":"29.0.54011.55644","builds":{"23":"23.5.16502.31399","24":"24.5.23489.36097","25":"25.5.30849.36072","26":"26.5.38752.40541","27":"27.5.46862.47359","28":"28.5.54151.54365","29":"29.0.54011.55644"},"code":{"28":{"url":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/source/?v=28","repo":"https://github.com/microsoft/BCApps","branch":"releases/28.x","commit":"408a4cc8d3a4c54b60464cc14c964479facb9ba0","path":"src/Apps/W1/EDocument/App/src/Workflow/EDocumentWorkFlowProcessing.Codeunit.al","license":"MIT"},"29":{"url":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/source/","repo":"https://github.com/microsoft/BCApps","branch":"releases/29.x","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","path":"src/Apps/W1/EDocument/App/src/Workflow/EDocumentWorkFlowProcessing.Codeunit.al","license":"MIT"}},"note":"Presence per major, highest build of each; 17 is the oldest major on the feed. Local procedures are not listed."},"object":{"type":"codeunit","id":6135,"name":"E-Document WorkFlow Processing","app":"E-Document Core","appByVersion":[{"app":"E-Document Core","from":23}],"nameByVersion":[{"name":"E-Document WorkFlow Processing","from":23}],"namespace":"Microsoft.eServices.EDocument","versions":"23-29","majors":[23,24,25,26,27,28,29],"countries":["W1","DE","US"],"minors":{"W1":"23.0-29.0","DE":"23.0-29.0","US":"23.0-29.0"},"minorsUrl":"https://jonas-paprotka.de/ref/codeunit/6135-e-document-workflow-processing/editions.json","extends":null,"extendsUrl":null,"sourceTable":null,"properties":null,"extendedBy":[],"implementedBy":[],"sourceFile":"src/Workflow/EDocumentWorkFlowProcessing.Codeunit.al","obsolete":null,"obsoleteSeenFrom":null,"byVersion":{"23":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":6,"values":0},"stub":false},"24":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":6,"values":0},"stub":false},"25":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":6,"values":0},"stub":false},"26":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":8,"values":0},"stub":false},"27":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"28":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false},"29":{"app":"E-Document Core","name":"E-Document WorkFlow Processing","ns":"Microsoft.eServices.EDocument","obsolete":null,"target":"","sourceTable":"","counts":{"fields":0,"keys":0,"methods":12,"values":0},"stub":false}},"fields":[],"keys":[],"procedures":[{"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}]}],"events":[{"name":"OnBatchSendWithCustomBatchMode","sig":"(var Record E-Document, var Record E-Document Service, var Boolean)","named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var EDocument: Record \"E-Document\"; var EDocumentService: Record \"E-Document Service\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}],"values":[],"controls":[],"actions":[]}}