Urgent help required:

RitikAnand_0-1741087537372.png
Is there a way to format these below two lines of script in such a way so that it can be added into the conditions field in Business Rule?
Thanks in advance.

var targetName = gs.action.getGlideURI().getMap().get('sysparm_target');
	if (targetName.indexOf('change_request.cmdb_ci') > -1) {