Lava Filters - CreateEntitySet
Category:Other
Description:Creates a new EntitySet from a list of entity identifiers of the specified type.
Input:
Lava: {% person where:'LastName == "Miller" && FirstName ^= "T"' select:'Id' limit:4 %}
{% assign personIdList = personItems %}
{% endperson %}
{% assign entityTypeId = 15 %}
//- 578 is the "Person Merge Request" EntitySet Purpose
{% assign entitySet = personIdList | CreateEntitySet:entityTypeId,5,578,'Please merge.','' %}
Entity Set (Id={{ entitySet.Id }}) was created with {{ personIdList | Size }} people.
Output: Entity Set (Id=1) was created with 2 people.