cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Sévérity, priority case

 

Hello Expert ,

 

I'm getting an error message : Unable to process template language expressions for action 'Condition' at line '1' and column '22271': 'The template language function 'less' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Null'.'.

 

I tried to calculate the  severity  of case.

 

I used  a calculate field  TotalCount.

 

This field depend of the answers ( other calculate field) .

 

Each severity depend of the   amount  of point ( range ) .

 

 

What are you suggestion.

 

I attached  to  screen shot

 

Thank you !

 

Severity-1.PNGSeverity-2.PNGSeverity-3.PNGSeverity-4.PNGSeverity-4b.PNGSeverity-5.PNG

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Sévérity, priority case

Hi @Anonymous 

 

Looks like the calculated field is returning null.

 

Declare a variable as integer.

 

Then before the IF condition check whether the TotalCount is null or not. If null set the variable as zero, if not set the current value of TotalCount. You probably need to use an expression int() to convert the TotalCount value to numeric.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Sévérity, priority case

Hi @Anonymous 

 

Looks like the calculated field is returning null.

 

Declare a variable as integer.

 

Then before the IF condition check whether the TotalCount is null or not. If null set the variable as zero, if not set the current value of TotalCount. You probably need to use an expression int() to convert the TotalCount value to numeric.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog

View solution in original post

Highlighted
Community Support
Community Support

Re: Sévérity, priority case

Hi @Anonymous ,

 

Please take a try with @abm 's suggestion and let me know if your have any problem.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (5,307)