cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

request attribute only use value filter

henk_stobbe
DynaMight Leader
DynaMight Leader

Hi all,

See below options you can use in the "only use if it" filter. Am I missing the null/empty value? Or is "" always skipped?

 

henk_stobbe_0-1698330756199.png

@henridb 

KR Henk

6 REPLIES 6

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi @henk_stobbe 

This is an optional configuration and if you do not enable it, it is, as you write, "skipped"

Radek

Have a nice day!

Hi Radek,

In a case you get "" returned from the method, and you want to say please skip?

Or you get "" returned, and the you want to skip the rest but keep ""?

KR Henk

Sorry I misunderstood you...I understand now that when a method returns null you want to skip collecting this RA? The method returns null or " " (whitespaces)?

Have a nice day!

Empty parameters should not be captured.
I've checked that whispace should also be skipped.

Zrzut ekranu 2023-10-26 o 18.32.50.png

Have a nice day!

Unfortunately that does not work in our case:

henridb_0-1698406599122.png

Here you see the config for 4. that is not working because when you save this postprocessing it is reverted to "begins with". You end up with empty RA's when there is no code between the bouderies.

Hello Henri,

So in short, if the return value is an empty string, there in no way to prevent Dynatrace from creating the attribute (with empty sring)

So in this case I agree with you, there should be an option "skip if empty" 

KR Henk 

Featured Posts