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 / Issue in Getting respo...
Power Automate
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.

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard