26 Oct 2023 03:37 PM
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?
KR Henk
Solved! Go to Solution.
26 Oct 2023 04:23 PM
Hi @henk_stobbe
This is an optional configuration and if you do not enable it, it is, as you write, "skipped"
Radek
26 Oct 2023 04:35 PM
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
26 Oct 2023 05:28 PM
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)?
26 Oct 2023 05:34 PM
Empty parameters should not be captured.
I've checked that whispace should also be skipped.
27 Oct 2023 12:40 PM
Unfortunately that does not work in our case:
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.
27 Oct 2023 02:34 PM - edited 27 Oct 2023 02:36 PM
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