Ankur Bawiskar
Tera Patron

Hi,

you can use before update BR on the table

Ensure you give correct choice values for both the fields

BR Condition: current.install_status.changes() || current.operational_status.changes()

Single BR to handle both the things

(function executeRule(current, previous /*null when async*/) {

	// Add your code here
	if(current.operation_status.changes()){

		// sync operational to install

		var op = current.operation_status;
		if(op == 'retired')
			current.install_status = 'choice value';

		// add else if 

	}
	else if(current.install_status.changes()){

		// sync install to operational

		var install = current.install_status;
		if(install == 'retired')
			current.operation_status = 'choice value';

		// add else if 

	}

})(current, previous);

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post