Hi,
I'm using a flow to count the emails inside a columns in a sharepoint list (ex: pippo@example.it;
pluto@example.com will return "2")
I'm using a Get_Items action to read the list, the a Foreach action to work on single item
I combine the split function with length to count the occurrences of "@": length(split(items('Foreach')?['siteOwners'], '@'))
The test raises error for missing value (null):
So I simplified the function to extract only the siteOwners data in a variable: items('Foreach')?['siteOwners']. The test run without error but output is null
Note thatI checked Foreach output that reports 4 items to loop, each one with SiteOwners columns with data.
So I think the error raised by split function is for null value, but not for missing value but concerned a syntax error in "items('Foreach')?['siteOwners']." Where is the error in the flow?
Tks