In the foreach node, if you select “Each Attribute Value” , then it will break the input geometry into pieces that correspond to each attribute value.
This works fine for integers, floats, and strings. But how about attributes with multiple components, such as “P”. I have tried entering "P" into the attribute name parameter, but that does not seem to work.
Any suggestions? (One option of course is to create a special attribute for the foreach node, but I want to avoid that.)