Hi All,
I have a List that is bound to a Table widget. After performing some calculations, I’m assigning the calculated values to a List, but the List is always empty.
I have verified that the source List contains data and is being populated correctly. However, when I check the List on the Table widget side, it appears to be empty.
Could someone help me understand why the List is not retaining the assigned values or why the Table widget is not reflecting the updated List?Having another list which is shows record(Body2).
Hi @Atal Sharma ,
I’m assuming you are using an Action to calculate and assign the value returned as TotalCount.
Problem: The Assign overrides an existing item at a specific index or overwrites the entire list reference.
Solution: Use the ListAppend system action instead of directly assigning the value to the List.
ListAppend adds a new element to the end of the List, increasing the List size by one without overwriting the existing elements.
So, after calculating TotalCount, use ListAppend to add the calculated value to your Local List.Hope this will help you.
Your List is probably empty, so you are trying to assign values to a current record that does not exist.
First, check whether the List is empty. If it is, use ListAppend, as Deepa suggested, to add the record. If the List already contains a record, you can use an Assign to update its values.
This approach applies if the List should contain only one record.
Thanks , it solved my issue.