 Rank: Newbie Joined: 7/24/2014(UTC) Posts: 3  Location: Melbourne
|
Is there any way to either use a regex expression or an IndexOf() type function when setting up a session group Filter? I currently use Session Filter: Name LIKE '%:%' Subgroup Expression: SUBSTRING(Name,1,8)
This means that if I name a machine "Colo :Machine A" it creates a sub group called "Colo" with the machine inside, but I'm locked to 8 characters as a location name and have to make sure I pad it out properly. If there were an IndexOf type function I could say Subgroup Expression: SUBSTRING(Name,1,IndexOf(Name,":")-1) or something similar to read the group name properly. Any other suggestions or tips for restructuring the groups would be great.
|
|
|
|
 Rank: Newbie Joined: 7/24/2014(UTC) Posts: 3  Location: Melbourne
|
I just realised I can just add the CustomProperty2 field to the machine edit dialog through the settings, and that looks to be the easiest solution. Mind you, a position function in the filter such as INSTR() wouldn't go amiss as it's frequently required for use with SUBSTRING().
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.