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 / Script doesn't run fro...
Power Automate
Unanswered

Script doesn't run from Power Automate. It works from Excel

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I hope someone can help me. I used this to enable a flow from Excel Online with a button:

How to run Power Automate from Excel with Office Scripts or VBA (exceloffthegrid.com)

 

The only thing I added a step that reads the person's Outlook information and runs another script at the end of the flow. The script will create a temporary view and then filter the data based on the email of the person who is using it.

 

If I remove the temp view, everything works perfectly. However, if I leave it be, only the flow runs, the script doesn't run, even though it says it runs successfully.  I hope that makes sense. I have included a screenshot of the flow and the 2nd script (scrip1).

 

Hopefully someone will be able to point me in the right direction.

 

Ta!

Categories:
I have the same question (0)
  • MichelleRanMSFT Profile Picture
    Microsoft Employee on at

    Hi @thaonguyen, thanks for your question! Could you share the following (sensitive data removed as needed)?

    1. your complete script code
    2. a sample workbook or data to run the script on

    This will help us reproduce the issue and figure out what could be going wrong.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard