Session Relevance assistance

(imported topic written by SystemAdmin)

Hello,

I have a quick question for something that is probably very easy and straight-forward but I can’t think of how to do it. I have the following Web-Report that pulls a bunch of data points from computers:

(..., values of results (it,bes property 
"Shared Groups"), ...) of members of bes computer groups whose (name of it = 
"GL - PERM - Relay servers"))

and it works, the problem is that this one particular property do not exist on all machines, so it filters directly out the computers that do not have the property. What I need is to display an empty string or some kind of default string for the computers that do not have the property but to still display them.

Thank you.

Angel

(imported comment written by jessewk)

You need to wrap it in an if statement:

(if (exists results (it,bes property “Shared Groups”) whose (exists value of it)) then values of results (it,bes property “Shared Groups”) else “No Result”)

Incidentally, we added new syntax coming in 8.x to make this much easier:

( value of results (it,bes property “Shared Groups”) | “No Result”)

Jesse

(imported comment written by SystemAdmin)

Great, I will use that until we get v8. Thank you.