Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Can someone explain why one Smart Value works and the other doesn't (list processing question)

Can someone explain why one Smart Value works and the other doesn't (list processing question)

Derek Fields _RightStar_
Community Champion
August 28, 2024

I spent several hours trying to add the "Amount" field (float) from a list of Asset objects.

The following Smart Value provides the correct answer:

{{lookupObjects.Amount.join(":").split(":").sum}}

The following Smart value provides nothing 

{{lookupObjects.Amount.sum}} 

lookupObjects.Amount returns a list, which I join and then split - then the "sum" function works. 

I would like to understand what is underlying the Asset object so that I can save hours the next time I am trying to do list processing on this.

0 answers

Suggest an answer

Log in or Sign up to answer