UDT transaction groups and scripting

I have a UDT item that has a script tied to it on value change like this:

time = system.date.now()
logger = system.util.getLogger("MyScriptLogger")
if currentValue.value == True and previousValue.value == False:
		logger.info("Boolean turned true and script executed")
		system.tag.writeBlocking("[.]Cake Waste Start Time" , time)
elif currentValue.value == False and previousValue.value == True:
		logger.info("Boolean turned false and script executed")
		system.tag.writeBlocking("[.]Cake Waste Stop Time" , time)

its a boolen, I am not seeing the script logger in my logs. Does a script like this work at the UDT level?

Would this trigger work in a transaction group?

My group is setup like this:

Did you find any solution for your problem? i am facing the same issue.

Show us your code. OP's code seems fine but i have a similar script running with no problems, something like datatype or the tag path might be wrong and throwing errors somewhere in the logs.I would also try adding the following lines at the start of your script so it fires with any event:

	logger = system.util.getLogger("loggerRan")
	logger.info(u'loggerRan. tagPath:%s|Current Value:%s|Previous Value:%s|'%(tagPath,str(currentValue.value),str(previousValue.value)))