core-4736 add logic to detect changes while creating wf