Hello Vijay,
You would need to use a CN_Registry and a Transformation.
The Registry would serve as your conditional trigger and the Transformation would perform the update of the data in the target repo.
On the Registry you would use some SQL like this in the CN_External_SQL attribute
SELECT CASE WHEN ||X Attribute_OLD_VALUE|| = 9 AND ||X Attribute_NEW_VALUE|| BETWEEN 2 AND 7 THEN 'true' ELSE 'false' END AS booleanValue FROM XYZRepo WHERE PrimaryKey = ||PrimaryKey||
Where you replace the value "X Attribute" with the friendly name of the attribute you want to monitor, likewise for PrimaryKey and the View name of the repository where the trigger is being executed, if the attribute you are monitoring is a VARCHAR field you may need to add single quotes.
On the Attributes tab you will also want to ensure you enter the Attribute you want to monitor and set the CN_Attribute_All_Action to "Changed"
On the Conditions tab of the registry you would add an entry for the CN_Conditions repeatable field where the CN_Condition_Attribute_Name is "booleanValue" without the quotes (this is the alias name given to the CASE statement outlined in the SQL), set the operator to "=" and the CN_Condition_Attribute_Value to "true", also without quotes.
This way only if the SQL returns a true value; because the old value was 9 and the new value is between 2 & 4, will it fire the associated transformation.
On the associated transformation, you can define a string literal or use SQL to set a variable value in your target repository
Here is a link to the Change Notification Admin Guide (just in case you don't already have it) EnterWorks-Change-Notification-Guide
Let me know if you have any questions and good luck!
------------------------------
Matthew Hounslow
ObjectEdge
------------------------------