Hi,
For obvious reason dynamic property values cannot be used for object search and/or mapping.
You must either resort to the use of properties that have unique and stable identifiers or exclude dynamic part of property value.
To illustrate the latter: assuming there is a button that have no other meaningful identifying properties but ObjectIdentifier and contentText where the latter property has dynamic value of 'Continue with XX items in a cart'. To map such button you may try something like this:
ObjectIdentifier == 'Button'
contentText == 'Continue with * items in a cart'