Hello Saurabh,
you should use the after modify event of the relevant node which is triggered when somebody changes a value in a field and presses the enter or save button.
In this event, you should trigger the action dependent from the change.
Best regards,
Rufat