Flow Designer Displaying Data in Field

Jeck Manalo
Tera Guru

Hi Everyone,

 

Im trying to use flow designer to display and compute this data in a field using list collector. Unfortunately, only the 1st total actual cost is getting displayed.

 

I tried to use this to total the sum but still not work. Any idea how can I display the sum ?

 

JeckManalo_1-1705545348578.png

 

 

JeckManalo_0-1705545043646.png

 

 

JeckManalo_0-1705544672120.png

 

3 REPLIES 3

Amit Verma
Kilo Patron
Kilo Patron

Hi @Jeck Manalo 

 

Are Cost Plan records of type List Collector ? Also, the action " VSH - List Collector to Array" will return an array and you want to sum up the elements of the array. Is my understanding correct ?

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.

yes i just need to display the sum on the field

Amit Verma
Kilo Patron
Kilo Patron

Hi @Jeck Manalo 

 

Can you please check if your array is of type Array.Number, Array.Integer, or Array.Decimal input data pill as Simple math transform functions require an Array.Number, Array.Integer, or Array.Decimal input data pill. Make sure to use the correct input data pill type when applying simple math transform functions. If a simple math transform function is applied to an improper data type, the data is not transformed at runtime and the input value is returned instead. 

 

Please refer the official documentation on this :

https://docs.servicenow.com/bundle/utah-build-workflows/page/administer/flow-designer/reference/simp...

https://docs.servicenow.com/bundle/utah-build-workflows/page/administer/flow-designer/reference/simp...

 

Thanks & Regards

Amit Verma


Please mark this response as correct and helpful if it assisted you with your question.