Page 6415 Flow Service Configuration

App
Base Application
Namespace
System.Automation
Versions
17-28
Source table
1543

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Modules/System/PowerAutomate/FlowServiceConfiguration.Page.al47 lines, Copyright (c) Microsoft Corporation. MIT

namespace System.Automation;

page 6415 "Flow Service Configuration"
{
    Caption = 'Power Automate Service Configuration';
    DeleteAllowed = false;
    InsertAllowed = false;
    PageType = NavigatePage;
    Permissions = TableData "Flow Service Configuration" = rimd;
    SourceTable = "Flow Service Configuration";

    layout
    {
        area(content)
        {
            field("Flow Service"; Rec."Flow Service")
            {
                ApplicationArea = Basic, Suite;
                Caption = 'Power Automate Service';
                ToolTip = 'Specifies the Power Automate service configuration: Production Service, Testing Service (TIP 1), or Testing Service (TIP 2).';
            }
        }
    }

    actions
    {
    }

    trigger OnModifyRecord(): Boolean
    var
        FlowUserEnvironmentConfig: Record "Flow User Environment Config";
    begin
        if FlowUserEnvironmentConfig.Get(UserSecurityId()) then
            FlowUserEnvironmentConfig.Delete();
    end;

    trigger OnOpenPage()
    begin
        Rec.Reset();
        if not Rec.Get() then begin
            Rec.Init();
            Rec.Insert();
        end;
    end;
}