The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Business Rule

yoli1
Tera Contributor

Hi,

I'm trying to write an "if" block to check for some values. I have got more values to verify in the if statement of a Business rule. The script is working fine. But I'm trying to find easy and best practice to achieve this. 

if(current.u_level_3.name=='IT Service Systems'||current.u_level_3.name=='Marketing'||current.u_level_3.name=='Sales'){
		//
	}
11 REPLIES 11

The "Level 3 | changes" is only necessary if you want the BR to run only when that specific field is updated. If you want it to run on every update for any field on the record where Level 3.Name is any of those three values, then you can drop the "Level 3 | changes". And if you're not sure which you want, try both and see which one behaves the way you want.

Okay! Thank you @Aylee Andersen 🙂