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 Apps / calling a Flow from a ...
Power Apps
Answered

calling a Flow from a canvas app is not working

(1) ShareShare
ReportReport
Posted on by 79
Hi,
I have build a simple app which should submit a new item in sharepoint and pass lastrecord's ID to do other business logic.
In an app, created a flow using Add Flow option. 
Flow has type Instant and 'When Power Apps calls a flow (V2)' which has Parameter called ID in a Number format and ID passed to 'Get Item'.
 
But when I try to type flowname.run it doesn't show up up when I add another flow which doesn't have ID parameter passed does work fine. What am I missing?
 
Flow:
Error: 'Run' is an unknown or unsupported function in namespace 'CCFlow'.
Categories:
I have the same question (0)
  • Verified answer
    Power Platform 1919 Profile Picture
    2,181 Super User 2026 Season 1 on at
    Hi @Newbee32, you should call as
    'PowerAppV2->Getitem'.Run(lastrecord.Id);

    Please give the mentioned solution a try and let me know whether it works for you.
    If it solves your issue, feel free to mark this thread as answered.
    Please make sure to like the response!
    Thanks!
    - Hemanth Sai

  • Newbee321 Profile Picture
    79 on at
    Thanks!
    Changing name does work. But would like to understand why Power apps promoted Flow name as it's steps and didn't keep name as is!
     
    Is there a better way to address this issue?
     
      
  • Suggested answer
    Power Platform 1919 Profile Picture
    2,181 Super User 2026 Season 1 on at
    Hi @Newbee321,
    I faced this issue, when i was creating a flow without specified name (the power automate auto generates the name example the text below the CCFlow ) and it gets attached to the app as old name. and even after we change the flow name (the first name would be fixed and gets connected to power apps as the same). 

    To Tackle this, we have to create a copy of existing flow with correct name as required and attach it and remove the old flow.

    Please give the mentioned solution a try and let me know whether it works for you.
    If it solves your issue, feel free to mark this thread as answered.
    Please make sure to like the response!
    Thanks!
    - Hemanth Sai

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard