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 Apps
Answered

expense report

(0) ShareShare
ReportReport
Posted on by 23

Hi guys, I have been having troubles with the flow of this expense report app, I created the lists as the document says. I have done all the steps well, but when I click submit  in order to get the Approval, the flow fails... and give this error 

message The passed-in field \Cost_x0020_center\ could not be found
 
please, if someone could help me out,
Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @alexaristides 

    Can you provide more details about how you are submitting and calling the Flow?  Also, are you referring to the Expense Report Template in PowerApps, or is this something you have designed yourself?

    The more formulas and error messages and screenshots you can provide, the better.

  • alexaristides Profile Picture
    23 on at

    well, I am using the Expense Report template in PowerApps, in order to customize for my company ...I created the lists (expenses and LineItems) as the document says, I did the connectios, I connect my site (sharepoint). The app runs well, I can create a new expense, I can add line items, but when I send to approval (submit), the flow fails and can not change the status of the expense.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @alexaristides 

    So the Flow for ApproveExpense does not take any parameters other than the ID of the expense item.

    Where are you seeing this error? (perhaps a screenshot)

    Have you modified the Flow properly and/or added any parameters to it?

  • alexaristides Profile Picture
    23 on at

    I see this error in the condition control, the part to change the status to "approval" is not working ... and says that the Center Cost field is not found, I already tried with spaces (Center Cost), and with no spaces (CenterCost), but this keep on fail,

     

    thaks

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @alexaristides 

    You should have this in that step...

    alexaristides1.png

     

    If you don't, then "x" it out and then choose the Dynamic Content item (scroll down until you see) Cost Center Value.

    This dynamic content is coming direct from SharePoint, so, Flow knows and you should just be selecting it from that list.

     

    If that is not successful, then perhaps take a look at the Cost Center column you created.  It should be a Choice Column.

  • Verified answer
    alexaristides Profile Picture
    23 on at

    excelent!!!, FLOW works properly, 

    thank you!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard