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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Não consigo criar um n...
Power Automate
Answered

Não consigo criar um novo fluxo no power automate desktop

(0) ShareShare
ReportReport
Posted on by 34

Bom dia (boa tarde ou boa noite) a todos e todas, sempre que tento criar um novo fluxo é exibida a mensagem de erro abaixo:


Mensagem = Object reference not set to an instance of an object.
Erro = System.NullReferenceException
Texto completo = System.NullReferenceException: Object reference not set to an instance of an object.
at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
at System.Windows.Automation.Peers.ItemsControlAutomationPeer.UpdateChildren()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
at System.Windows.ContextLayoutManager.fireAutomationEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.Controls.VirtualizingStackPanel.<>c__DisplayClass94_0.<InitializeViewport>b__0()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Já removi o power automate, reiniciei a máquina, reinstalei, mas não funciona, não consigo resolver. Vocês podem me ajudar com isso?

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Marcos2023 

    What version you are currently using? Did you recently upgraded your PAD version? Please consider to keep 2.39 and see if it resolves your issue.

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏

  • Verified answer
    Marcos2023 Profile Picture
    34 on at

    Bom dia, @Deenuji. Verifiquei que eu não tinha acesso para atualizar a versão do PAD na máquina virtual. Solicitei ao time da TI que atualizasse a versão e o problema foi resolvido. Obrigado pela atenção e pela dica. 

     

    Vou aproveitar a oportunidade e te pedir uma sugestão: preciso criar uma automação para realizar uma atualizazação no cadastro de estoque de material. São dois sistemas que não "conversam" entre si. Sempre que alguém incluir determinados dados no sistema A será incluído um novo registro nma planilha do Excel. Preciso obter os dados dessa planilha (sempre que for inserida uma nova linha), ou seja, sempre que um novo registro for incluído preciso incluir estas informações no sistema B. Lhe pergunto: qual sua sugestão de gatilho para acionar o fluxo?

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Marcos2023 

    If my understanding is correct, whenever new data is added to system A, a new Excel file will be generated, correct? If so, where will this Excel file be stored? Can it be stored in a specific folder?

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏

     

  • Verified answer
    sergiopereira83 Profile Picture
    25 on at

    Excel online, você consegue colocar a criação da linha como um gatilho para um fluxo cloud, que irá chamar o desktop.

    Eu não aconselho fazer isso, pois se a frequência de criação de linhas for grande, pode disparar muitas vezes o fluxo e causar algum conflito. Creio que é melhor você agendar o fluxo com uma certa periodicidade que atenda sua necessidade e processe todas as linhas pendentes de uma vez.

  • Marcos2023 Profile Picture
    34 on at

    Isso, a planilha ficará numa pasta específica e sempre que uma nova linha for incluída preciso acionar o fluxo de desktop para que esse registro seja incluído no sistema B.

  • Marcos2023 Profile Picture
    34 on at

    Sergio, muito obrigado pela dica. Qualquer coisa lhe pergunto por aqui. Abraço.

     

  • Verified answer
    CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Marcos2023 

    If you're referring to a local machine folder rather than any SharePoint or OneDrive folder. In that scenario,

    first, install the On-Prem data gateway from the following link:

    https://powerapps.microsoft.com/en-us/downloads/

    Next, install the data gateway using the following link:

    https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-install 

    Deenuji_0-1711980186655.png

     

    Once installed, our gateway name will appear in the gateway menu as shown below:

    Deenuji_1-1711980186511.png

     

    Afterward, utilize the "when a file is created" trigger to select your local folder as the trigger point in the cloud flow.

    Deenuji_2-1711980186656.png

     

     

    Click on the three dots and select "New connection". 

    Deenuji_3-1711980186513.png

     

    Create your new connection as shown below, choosing the recently created gateway name from the last dropdown list.

    Deenuji_4-1711980186702.png

     

    Once everything is set up, select the location of your local drive folder where you want to monitor for any file uploads or creations
    Deenuji_5-1711980186607.png

     

    Finally, after setting up the drive folder, you can add a desktop flow to invoke when somebody creates a new file in the specified folder. The gateway will act as a bridge between your local system and the cloud flow.

    Deenuji_6-1711980186969.png

     

     In case if you referring OneDrive folder then you can create your cloud flow like this

    Deenuji_7-1711980186610.png

     

    Below is another trigger option in case if you refer share point folder

    Deenuji_8-1711980186550.png

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀. If you'd like to appreciate me, please write a LinkedIn recommendation 🙏

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 231 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 170

Last 30 days Overall leaderboard