Business Rule

yoli1
Tera Contributor

Hi Team i have a field that is from CMDB Integration and when i try to call him in business rule it doesn't work does anyone know why ? 

 

 

 if (current.name_of_field === 'Active')

 

 

 

 

10 REPLIES 10

yoli1
Tera Contributor

Mohith Devatte
Tera Sage
Tera Sage

Hello @yoli1 ,

are you sure that you are giving the correct back end name of the field ?

also what type of field is it ?

if its a check box field you need to compare it with true or false instead of active like below

 if (current.name_of_field ==true)

If its not check box then check both back end name of field value and the backend value of active too .

 

Hope this helps 

Mark the answer correct if this helps you 

Thanks

 

HI @Mohith Devatte it is a String value and yeah the back end name is correct here is the field

Uncle Rob
Kilo Patron

Uhhh... does the field have a string value of "active"?
You could just run a background script and get it to output whatever that field has as a value.