question

Anirudh P. avatar image
Anirudh P. asked ·

Filtering BT based on Method Argument Value

I am having trouble filtering a BT based on a method argument value that is passed in as an XML. I am trying to filter on one of the elements of the XML so I have set up a BT based on a measure similar to what is shown in attached picture 1.

An example of the argument value seen by DT is in attached picture 2.

For some reason, filtering like this is not showing me only the Method calls that contain the value I am looking for.

Please provide guidance on how to set up this Business transaction and measure and let me know whether it is possible to filter a BT based on part of an XML argument value.

Thanks in advance!

business transaction
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Anirudh P. avatar image
Anirudh P. answered ·

Hello, thanks for your prompt response I am still having trouble getting the accurate results to show up.

This is how my Measure is now configured:

And this is how the BT is setup:

Do I need to setup the BT a different way to make this work?

Thanks!

1 comment Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Feel free to export a couple of these purepaths in a session and attach it to this forum post so that I can have a look at it

0 Likes 0 · ·
Andreas G. avatar image
Andreas G. answered ·

You need to change the "Evaluation" option to "Occurence" and the upper threshold to 1.
Right now the measure returns the STring Value which is still the XML string - which doesnt make sense for a filter measure. After changing the measure it will basically return either the value 0 or 1. And - in case it is 1 it will work well for the filter as you have set the treshold to >= 1

let me know if this works

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

Anirudh P. avatar image
Anirudh P. answered ·

Accidentally attached the wrong picture but the Match column for the Measure is set up to monitor "contains" rather than "starts"

Share
10 |2000000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.