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 Automate / Invalid Template for s...
Power Automate
Unanswered

Invalid Template for sum function

(0) ShareShare
ReportReport
Posted on by

Hey there.

I was trying the simple add function adding a field to one but it didn't work and showed a message error as below.

byansakura_0-1612979108450.png

The message error is

InvalidTemplate. Unable to process template language expressions in action 'Update_project_' inputs at line '1' and column '33699': 'The template function 'sum' is not defined or not valid.'.

And my query was:

sum(outputs('Get_the_project')?['body/ecom_surveycount'],1)
 
Is there any way I could fix this? Thank you in advance
Categories:
I have the same question (0)
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Anonymous 

     

    Sum is not a function, add is though?

     

    add(outputs('Get_the_project')?['body/ecom_surveycount'],1)

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard