Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Nullable integer PowerApps form field

(0) ShareShare
ReportReport
Posted on by 4

I am new to PowerApps and using a flow. PowerApps form field of datatype is int  (number). This field is blank and passing it to a PowerApps flow, to check blank integer I am using empty() function in a flow. but it errored out as below

[Unable to process template language expressions in action 'Execute_stored_procedure_(V2)' inputs at line '1' and column '9620': 'The template language function 'empty' expects its parameter to be an object, an array or a string. The provided value is of type 'Integer'. Please see https://aka.ms/logicexpressions#empty for usage details.'.]

Please assist me a correct property to check blank integer / blank float values in a flow.

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Nullable integer PowerApps form field

    @Atul22  can you share screenshot of your flow, i want to see where and how you are using this expression

  • Atul22 Profile Picture
    4 on at
    Re: Nullable integer PowerApps form field

    Tried as 

    if(empty(string(triggerBody()['Executestoredprocedure(V2)_AMOUNT'])),null,triggerBody()['Executestoredprocedure(V2)_AMOUNT'])

    But still not able to run the flow, this time flow run history did not had error entry but powerapps screen button showed error (The method 'Run' has an invalid value for parameter 'Executestoredprocedure(V2)_AMOUNT'

     

    Please assist.

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at
    Re: Nullable integer PowerApps form field

    @Atul22 the empty parameter expects the type of value to be object, array or string, so what you can do is cast the value to string like @empty(string(triggerBody()?['parameter']))

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,587 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,928 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow