cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
OnlyRodd
Level: Powered On

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
Super User
Super User

Re: Sévérity, priority case

Hi @OnlyRodd 

 

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!



View solution in original post

2 REPLIES 2
Super User
Super User

Re: Sévérity, priority case

Hi @OnlyRodd 

 

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!



View solution in original post

Community Support Team
Community Support Team

Re: Sévérity, priority case

Hi @OnlyRodd ,

 

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

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

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