Need Driver = null if ignition = false

Hello, I wish everyone a happy day. I have a problem: a device isn't consistently sending the driverUniqueId, so I used copyattributes in traccar.xml to always return the last known driver ID at all locations. The problem I have is that I want the driver to be disconnected from the driver when the engine is turned off (ignition = false), something like this: if ignition = false, driverUniqueId = null. I tried using this calculated attribute, but I'm sure I'm not doing it right:

ignition == false ? "driverUniqueId" : null

Could someone correct me on how this calculated attribute should look?

Screenshot_1.png

Hi, I already fixed it and it worked correctly, if anyone else needs something similar, this is the correct expression (at least the one that worked well for me):

ignition == false ? null : driverUniqueId
Screenshot_2.png