barrymurphy:What if its not a repeating group?
Without a repeating group, qRules will only map ONE list item.
If the mapping does not involve a repeating node, then qRules can't perform any filtering (because there's only one item to create, not multiple items). You could add a condition to the button in your form, so that the mapping executes only when the condition is met.
barrymurphy:
How can I get both entries for SubElement1 and SubElement2 in the list and not just the last?
This is not repeating table.
I think there are two options here:
1. Rework your form's schema in order to have a repeating group, and map that using a filter.
2. Have separate mapping files for each of your elements. Then each mapping file would create one item each.
Mapping file #1 would contain:
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:Element1</FormField>
<SharePointColumn>Element</SharePointColumn>
</Mapping>
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:SubElement1</FormField>
<SharePointColumn>SubElement</SharePointColumn>
</Mapping>
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:Comment1</FormField>
<SharePointColumn>Description</SharePointColumn>
</Mapping>
Mapping file #2 would contain:
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:Element2</FormField>
<SharePointColumn>Element</SharePointColumn>
</Mapping>
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:SubElement2</FormField>
<SharePointColumn>SubElement</SharePointColumn>
</Mapping>
<Mapping>
<FormField IsRichText="false" IsId="false" IsAttachment="false">my:myFields/my:Comment2</FormField>
<SharePointColumn>Description</SharePointColumn>
</Mapping>
Hope this helps.