Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Custom Tags - Ability to filter array #109

Open
sebagarayco opened this issue Jul 5, 2022 · 0 comments
Open

Custom Tags - Ability to filter array #109

sebagarayco opened this issue Jul 5, 2022 · 0 comments

Comments

@sebagarayco
Copy link

sebagarayco commented Jul 5, 2022

Hi GorillaStack, this is a really useful project! ⭐

I think it would be nice have the possibility to filter values of an array.
As stated in Custom Tags section I know it's possible to access the different items in an array.
The problem is that not always the wanted field is in the same position and the reference is lost.

Custom Tag used:

"AutoTag_tagXXXX": "$event.responseElements.instancesSet.items.0.tagSet.items.0.value"

Sample event:

"responseElements": ...
...
"instancesSet": ....
...
"items": ...
...
"tagSet": {
    "items": [
      {
          "key": "tag1",
          "value": "TAG-VALUE-1"
      },
      {
           "key": "tag2",
           "value": "TAG-VALUE-2"
       }
       ]
},
...

Expected behaviour

Have the ability to select an item dynamically based on the Tag key name.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants