I'm using modern designer and it's saying there's an error in my format.
On the prev action I split a string based on a "space"
This action is called "SplitName"
split(item()?['name'],' ')
I then am inserting into a string DV field...trying to use...
if(length(outputs('SplitName')) > 1, outputs('SplitName')[1],'')
pretty basic stuff...the error is ... This expression has a problem. You can fix it manually or with Copilot.
it would accept length(outputs('SplitName')) but I'm throwing a conditional if in there... basically grab the 2nd item in the array if there's a value.