---
title: "Codeunit 6400 Flow Service Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/6400-flow-service-management/
type: codeunit
id: 6400
name: "Flow Service Management"
app: "Base Application"
namespace: System.Automation
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/6400-flow-service-management/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 6400 Flow Service Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/6400-flow-service-management/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Automation |
| Versions | 17-28 |
| Source file | Modules/System/PowerAutomate/FlowServiceManagement.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetFlowUrl | () | Text | public | 17-28 | - | - |
| GetFlowEnvironmentsApi | () | Text | public | 17-28 | - | - |
| GetLocale | () | Text | public | 17-27 | Pending 25.0 | We do not provide localization for Power Automate anymore. We rely on Power Automate internal services instead. |
| GetFlowDetailsUrl | (Guid) | Text | public | 17-28 | - | - |
| GetFlowManageUrl | () | Text | public | 17-27 | Pending 25.0 | We do not support providing the Power Automate manage URL anymore. |
| GetFlowARMResourceUrl | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetFlowServiceResourceUrl | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetFlowResourceName | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetGenericError | () | Text | public | 17-28 | - | - |
| GetFlowEnvironmentID | () | Text | public | 17-28 | - | - |
| GetFlowTemplatePageSize | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetFlowTemplateDestinationNew | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetFlowTemplateDestinationDetails | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| IsUserReadyForFlow | () | Boolean | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetFlowPPEError | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetSalesTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetPurchasingTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetJournalTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetCustomerTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetItemTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetVendorTemplateFilter | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| GetSelectedFlowEnvironmentName | () | Text | public | 17-28 | - | - |
| GetEnvironments | (var Record Flow User Environment Buffer) | - | public | 17-28 | - | - |
| ParseResponseTextForEnvironments | (Text, var Record Flow User Environment Buffer) | - | public | 17-28 | - | - |
| SaveFlowUserEnvironmentSelection | (var Record Flow User Environment Buffer) | - | public | 17-28 | - | - |
| SetSelectedFlowEnvironmentIDToDefault | () | - | public | 17-27 | Pending 25.0 | This function is not used anymore. We do not set the default environment anymore. We rely on Power Automate instead. |
| HasUserSelectedFlowEnvironment | () | Boolean | public | 17-28 | - | - |
| GetFlowTemplateSearchUrl | () | Text | public | 17-27 | Pending 25.0 | This function is not used anymore. We rely on Power Automate internal services instead. |
| CanApproveForAll | () | Boolean | public | 22-28 | - | - |
| SaveFlowEnvironmentSelectionForAll | (var Record Flow User Environment Buffer) | - | public | 22-28 | - | - |
| UseLinkedEnvironment | () | - | public | 24-28 | - | - |
| GetPowerAutomatePrivacyNoticeId | () | Code[50] | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Internal event | OnBeforeSendGetEnvironmentRequest | (var Text, var Boolean) | 23-28 | - | - |
| Internal event | OnBeforeSetDefaultEnvironmentRequest | (var Text, var Boolean) | 23-27 | Pending 25.0 | This function is not used anymore. We do not set the default environment anymore. We rely on Power Automate instead. |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
