Editar

Compartilhar via


FlowId Property

Version: Available or changed with runtime version 10.0.

Sets the ID of the Power Automate Flow triggered by this action.

Applies to

  • Page Custom Action

Remarks

You can get the flow ID in Power Automate. Sign in to Power Automate and open the flow for editing. Then, get the flow ID from the URL in the browser address, which has a format like: https://make.powerautomate.com/environments/<environment ID>/flows/<environment ID>.

To learn more about Power Automate flows with Business Central, see Power Automate Integration Overview.

Example

The following example extends the Cutomer Card page with a promoted action that runs a Power Automate flow that has the flow ID 00001111-aaaa-2222-bbbb-3333cccc4444.

pageextension 50100 CustomerCardExt extends "Customer Card"
{
    actions
    {
        
        addlast(processing)
        {
            customaction(MyFlowAction)
            {
                ApplicationArea = All;
                CustomActionType = Flow;
                FlowId = '00001111-aaaa-2222-bbbb-3333cccc4444';
                FlowEnvironmentId = 'Default-44445555-eeee-6666-ffff-7777aaaa8888';
            }
        }
        addfirst(Promoted)
        {
            actionref(MyFlowPromoted; MyFlowAction)
            {
            }
        }

    }
}

Getting Started with AL
Developing Extensions