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 / how to use an instance...
Power Automate
Answered

how to use an instance of windows in another flow?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
hello, I want to run a flow A, which returns the instance of an open window, after this return I want to manipulate this window in flow B

 

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    In flow A:

    1). ”Get Window Title” to %SharedWindow%

    2). ”Set Environment variable” %EV_SharedWindow% to %SharedWindow%

     

    In flow B:

    1) ”Get Environment Variable” %EV_SharedWindow%

    2) “Focus Window” %EV_SharedWindow%

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    MichaelAnnis, thanks for the answer, I tried it the way I did but it seems that the tool has a bug when passing window instance as parameter, but passing this way %AutomationWindow.Handle%

    works, does this happen to you?

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I am not sure as I  not completely familiar with the properties of a window.  What I do know is you can do things during the PAD flow to change the title. For example, saving an excel file after opening it may change the window title from “Title .xlsx - Excel” to “Title.xlsx - Saved” - Excel. This may be why it didn’t work. So, if .handle is working, great.  It probably won’t change like the title would. Glad you were able to figure it out. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard