Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Issue in Getting response from Power Automate to PowerApp

(0) ShareShare
ReportReport
Posted on by 145

Hi,

 

I am trying to get records of Audit History from Flow to Canvas App.

So I have created Flow, got the record in Json format and I am passing that Json data to PowerApps using Response to PowerApps.

 

I am able to call flow from PowerApps but not able to access collection data which came from PowerApps.

Community18_3.png

 

This is the json 

 

[
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 },
 {
 "ChangedBy": "CFS Admin",
 "ChangedField": "cf_quarter",
 "ChangedOn": "25-05-2020 13:18",
 "Event": "Create",
 "NewValue": "Q3",
 "OldValue": ""
 }
]

 

 

I am collecting the response from Flow in PowerApp using this ClearCollect:

 

ClearCollect(
 AuditHistoryRecord,
 AuditHistory.Run(ThisItem.Objective)
);

 

This is collection which I am getting.

Community18_2.png

 

Any help is Appreciated.

  • v-bacao-msft Profile Picture
    on at
    Re: Issue in Getting response from Power Automate to PowerApp

     

    Hi @tjalui ,

     

    Please refer to this blog and get more details about the usage of Return an Array from Flow to PowerApps:
    https://powerapps.microsoft.com/en-us/blog/return-an-array-from-flow-to-powerapps-response-method/

     

    Besides, for more details to create a collection in PowerApps, please check this online doc:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/create-update-collection

     

    Best Regards,

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,658 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow