I am try to create groups based on the administrator of a VM. I have a category of tags called “VM Admin” and each VM is tagged with its Administrator. Here is my grouping expression:
CASE
WHEN Tag("VM Admin") = "Andy" THEN "Andy"
WHEN Tag("VM Admin") = "John" THEN "John"
WHEN Tag("VM Admin") = "Craig" THEN "Craig"
WHEN Tag("VM Admin") = "Brian" THEN "Brian"
ELSE "Unknown Admin"
END
My groups are all populated nicely except when a VM that has two administrator, because it then has two “VM Admin” tags. I would like to have the VM listed in both (or somethings three) administrators list. Is there a way to do this?
BTW I am using VeeamOne 9.5 update 1
Thanks,
Brian
-
- Enthusiast
- Posts: 29
- Liked: never
- Joined: Jan 19, 2012 3:35 pm
- Full Name: Brian Weinberg
- Contact:
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Tags Grouping Expression when VM’s have multiple tags
Hello Brian,
There is "IndexOf" method which searches for the value in the string(analog of "contains"). I would either try using this or just create static groups with simple rules instead of dynamics, since they will be sufficient for your case.
Thanks!
There is "IndexOf" method which searches for the value in the string(analog of "contains"). I would either try using this or just create static groups with simple rules instead of dynamics, since they will be sufficient for your case.
Thanks!
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Tags Grouping Expression when VM’s have multiple tags
VMs cannot belong to the different groups at the same time within the same category, it is currently by design. In your case, it seems like another category will be required. Thanks!
-
- Veteran
- Posts: 7328
- Liked: 781 times
- Joined: May 21, 2014 11:03 am
- Full Name: Nikita Shestakov
- Location: Prague
- Contact:
Re: Tags Grouping Expression when VM’s have multiple tags
Vitaliy is correct, we are going to eliminate the restriction in future versions though.
Who is online
Users browsing this forum: No registered users and 1 guest