AnsweredAssumed Answered

Symbol update function returns array of objects with different length

Question asked by mdelgado on Jun 17, 2020
Latest reply on Jun 20, 2020 by mdelgado

Hello everyone, recently I completed a projet using timeseries shape to bring and array of data to be presented in a table. apparently a receive an error after a while, pointing to the returned array of data saying "type error: can not read property Value of undefined". Of course, when I checked the data array in the "update function", it came with objects of different lengths, and this is the origin on the problem as when I iterate to the last item of the shortest object, the property value is undefined. To avoid the problem. I use "return" to leave the function before I start iterating but once it happens it keeps on coming over and over again unless I refresh the entire page.

My question is, how can I handle this situation?? 

Attachments

Outcomes