auto-tag icon indicating copy to clipboard operation
auto-tag copied to clipboard

Custom Tags - Ability to filter array

Open sebagarayco opened this issue 1 year ago • 0 comments

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!

sebagarayco avatar Jul 05 '22 19:07 sebagarayco