Please explain the below refrence qualifier

mani55
Tera Contributor

we have one of the variable called os and we have below refrence qualifier so please explain me through scripting 

refrence table :u_cmdb_ci_vmware_os

refrence qualifier:

javascript:

 

var vcac=current.cat_item.u_launch_method =="Manual"?"^u_vcac_flagANYTHING":"^u_vcac_flag=true";'u_active=true^name!=Red Hat EL 6.x English - 64 bit^u_vm_type='+current.variables.vm_type+'^u_datacenter='+current.variables.datacenter+vcac;

 

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

This code produces the following reference qualifier:

 

Active is true

AND Name is not "Red Hat EL 6.x English - 64 bit"

AND VM Type is <value of vm_type variable>

AND Data center = <value of datacenter variable>

 

if Launch Method is not "Manual" then an extra condition is added:

AND VCAC Flag is true

View solution in original post

1 REPLY 1

Slava Savitsky
Giga Sage

This code produces the following reference qualifier:

 

Active is true

AND Name is not "Red Hat EL 6.x English - 64 bit"

AND VM Type is <value of vm_type variable>

AND Data center = <value of datacenter variable>

 

if Launch Method is not "Manual" then an extra condition is added:

AND VCAC Flag is true