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 Apps / PowerApps not receivin...
Power Apps
Answered

PowerApps not receiving variable from PowerAutomate.

(0) ShareShare
ReportReport
Posted on by 101

Hello all, 

 

I Have a flow that creates a SP list item, and then passes the ID of the item back to Powerapps.

I call the flow like so:


Set(CopyItemID,CreateAppItems.Run( Blah,Blah,Blah).varcopyid

This works and the flow works perfectly, and in the run history shows this

ChrisSullivan_0-1616516554535.png

 

When I call the variable in powerapps, I am creating another SP list item in another list that I want to have its column "SourceID" be CopyItemID.  SourceID is a number column FYI

Patch(CTMS_1, Defaults(CTMS_1),
{SourceID:CopyItemID, Blah, Blah,Blah})

The Item is created but the variable is not passed to the column. 
ChrisSullivan_2-1616516667928.png

I am also seeing this in the formula when I hover over CopyItemID,  but have no errors:

ChrisSullivan_3-1616516712258.png


Not sure what is wrong here. Seem like everything is working perfect, but not working. 

Any help would be great. Thanks in advance. 

 





 



 

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

    Hi @ChrisSullivan ,

     

    I will suggest you to pass text type data instead of number type data.

     

    1\ Build this flow.

    v-xiaochen-msft_2-1616568403002.png

     

    2\ Add a button control and set its onselect property to:

    Set(A,Value(TEST39.Run().haha3))

     

    3\ The result is as follows:

    v-xiaochen-msft_1-1616568306993.png

     

    Best Regards,
    Wearsky
    If my post helps, then please consider Accept it as the solution to help others. Thanks.

     

     

  • Verified answer
    ChrisSullivan Profile Picture
    101 on at

    I found passing the variable as a integer did the trick.

    ChrisSullivan_0-1616590929255.png

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard