
Retrieves all elements that match a specific criteria and loops through each element.
Created Script

Get Search Elements – retrieves elements based on a criteria and sets it to a variable.
Note: the current element, within the loop,will be set to the CurrentItem variable.

Get Element Tag – retrieves the Tag of the current element.

Since elements retrieved can be of differing types, a If action is added for each element tag found in the ElementCollection.
In this case, the CurrentItem will check to see if it is a Link Element.

Has Tag – if the element does have the correct tag, all actions within this sequence will be performed.
Get Attribute Value – retrieves a attribute value from the CurrentItem.