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 / Search a Text within a...
Power Automate
Unanswered

Search a Text within all completed flows

(0) ShareShare
ReportReport
Posted on by 46

Hi there,

 

I have lots of flow instances run on each day, but instead of opening each flow to check the values of the Action, is there a better way that I could search a text/string among all action outputs of completed flows?

 

Currently, I have to do the following:

[My Flow] > Run History > Open each flow > check the output of the action I am looking for

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,484 on at

    Hey @hifni 

    You can use the result function for this. Take out the output field from result function and store it in a SP List or an excel or any database of your own choice. And search for that text in your database.

     

    So at the end of the flow. The action that contains your answer or text, add it to a scope. After that add a compose action and inside it write result('Scope_Name'). [Scope_Name=Name you have kept for the scope, default would be Scope only]

    After this you can use parse json on the above compose.

    After this just store the output field in another compose. And send it to the database you want to store to.

     

    So result function is mostly used for logging. You can get other fields like name of the action, inputs and outputs for it. The final result of that action, was it successful or failed.

     

    Heres how the flow looks like:

     

    Sundeep_Malik_0-1663564413671.png

     

     

    Sundeep_Malik_3-1663564595510.png

     

    As I had taken 5 in the scope's compose, here in output I am getting 5. This you can store in the database everytime. Final Output:

    Sundeep_Malik_2-1663564526909.png

     

    I hope this helps.

  • HN-04060819-0 Profile Picture
    46 on at

    Thank You very much @Sundeep_Malik 

     

    Although its not what I looking into yet it paved the way to solve another issue I had.

     

    My apologies for not exactly writing what I need or not making myself clear. I wasn't expecting a dynamic solution (with actions and expressions) however, I was expecting something I can do in the, Power Automate Run History.

     

    Basically I need to search from Run History by searching any flows in which the outputs of actions in that flow match the text/string I gave. Essentially, I will be needing to go into detail about those flows to review the flow.  The search result will show only the flows that ran with the text/string I intended to search for.

     

    i.e. let's say I need to search all flows in the run history which had its actions' output having the text "Hello" (it can be in any attribute). So essentially I need to know any place in Power Automate UI of that particular flow where I can place the search text and search for any flows which satisfy the criteria and then go into detail instead of going through all the flows.

  • Sundeep_Malik Profile Picture
    6,484 on at

    @hifni 

    Unfortunately, I don't think that's possible. 

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

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard