Hi all,
I have a list and the count of this list is 15 once i try to use count isn't return 15 it returns 1 also I tried to use a!flatten but the same issues
any advice ?
Discussion posts and replies are publicly visible
Your list might be nested (lists within lists). count() only counts top-level items.Your main dictionary contains 15 sub dictionary items By Flatten your list, making it appear like one list.
You have to use "." notation to access sub dictionary..parameters
Share code for better visualisation
I tried to use count(local!stored.IO_CURSOR) but it returns 1
Use this count(local!stored.parameters.IO_CURSOR)
same issues
Do not use "list"count(local!stored.parameters.IO_CURSOR)
still returns 1
count(local!stored.parameters)
use the count function around parameters.
I tried it returns 1
What code are you using to achieve this result?