Recording in data or switch objects doesn't work...

If recording of data for switch and data objects does not work, check the following: