web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow terminates after ...
Power Automate
Unanswered

Flow terminates after one hour

(0) ShareShare
ReportReport
Posted on by 11

Hello everyone.

 

I have designed a flow, and it is working properly (actions). It uses authorization requests , but after one hour, the flow terminated itself as succeded, and the authorization process was not completed. As a workaround, I have set P30D in the timeout option of the authorization request, and now the flow indicates as "running" after 1 hour (I thought the problem was resolved), but when one user authorizes, the flow terminates as succeded anyway (it is interrupted), and the other approvers don't receive the authorization request.

 

is it due to a licensing related problem? I am using the Microsoft 365 Enterprise Standard suscription (Microsoft PowerAutomate Free).

 

Can you help me please?

 

Than

 

Categories:
I have the same question (0)
  • Matthy79 Profile Picture
    4,180 Super User 2024 Season 1 on at

    Does another action has a timeout limit set. Maybe a loop. Have you checked that?

  • David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at

    Can you show the configuration of your flow?

  • YaderAguirre Profile Picture
    11 on at

    Hello,

    I checked every action looking for that configuration (timeout limit) and in all the actions, is set to P30D trying to prevent the flow from terminating.

  • YaderAguirre Profile Picture
    11 on at

    Hello David,

    Sure. Next, let me show you the config of the authorization request. It is within a loop:

     

    {
        "inputs": {
            "host": {
                "connectionName""shared_approvals",
                "operationId""StartAndWaitForAnApproval",
                "apiId""/providers/Microsoft.PowerApps/apis/shared_approvals"
            },
            "parameters": {
                "approvalType""CustomResponse",
                "WebhookApprovalCreationInput/responseOptions": [
                    "REVISADO X CLX",
                    "NO CONFORME"
                ],
                "WebhookApprovalCreationInput/title""REVISION DE CLINICA PARA INGRESO DE PERSONAL",
                "WebhookApprovalCreationInput/assignedTo""YAguirre@calibremining.com;",
                "WebhookApprovalCreationInput/details""DATOS DE LA SOLICITUD:\nID DE SOLICITUD: @{triggerOutputs()?['body/ID']}\nPROVEEDOR: @{triggerOutputs()?['body/Title']}\nFECHA DE REGISTRO: @{triggerOutputs()?['body/FECHA_REGISTRO']}\nTELEFONO DEL CONTACTO: @{triggerOutputs()?['body/TEL_CONTACTO']}\nEMAIL_CONTACTO: @{triggerOutputs()?['body/EMAIL_CONTACTO']}\nRESIDENCIA: @{triggerOutputs()?['body/RESIDENCIA']}\nACTIVIDAD ECONOMICA: @{triggerOutputs()?['body/ACTIVIDAD_ECONOMICA']}\nTRABAJO: @{triggerOutputs()?['body/TRABAJO_REALIZAR']}\nOC/SST: @{triggerOutputs()?['body/OC_SST']}\nDESDE: @{triggerOutputs()?['body/DESDE']}\nHASTA: @{triggerOutputs()?['body/HASTA']}\nCANTIDAD DE TRABAJADORES: @{triggerOutputs()?['body/CANT_TRABAJADORES']}\nSOLICITANTE: @{triggerOutputs()?['body/SOLICITANTE']}",
                "WebhookApprovalCreationInput/itemLink""@triggerOutputs()?['body/{Link}']",
                "WebhookApprovalCreationInput/itemLinkDescription""Ver detalles de la solicitud y los documentos de sustento",
                "WebhookApprovalCreationInput/enableNotifications"true,
                "WebhookApprovalCreationInput/enableReassignment"true
            },
            "authentication""@parameters('$authentication')"
        },
        "runtimeConfiguration": {
            "secureData": {
                "properties": [
                    "outputs"
                ]
            }
        },
        "limit": {
            "timeout""P30D"
        },
        "metadata": {
            "operationMetadataId""f3d70d9b-a988-41ee-a8a6-409ec20ebc1b"
        }
    }
  • Verified answer
    David_MA Profile Picture
    12,966 Super User 2025 Season 2 on at

    Is your approval action a Start and wait for an approval or just a Start an approval? If it is Start and wait for an approval, do you have it configured to wait for all responses? If you are not using Start and wait for an approval, that would explain why it is not waiting for everyone to complete the approval. The flow is probably then timing out on the Do until action as by default that has a one-hour timeout. 

  • YaderAguirre Profile Picture
    11 on at

    I will check that out thoroughly.

    I'll let you know the result.

    I really appreciate your help

     

    Yader

     

  • YaderAguirre Profile Picture
    11 on at

    You were completely right!

    I followed your instructions and redesigned the flow and now it is working fine!.

    thanks David!

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard