Using a Driver Attribute in a Notification Template

bluelaser23 days ago

I have created a String type attribute on each of the drivers: 'useridman'. I want to then use the content of this field in a Notification Template. Is this possible and if so how? I'm guessing something like $driver.attribute.useridman?

Anton Tananaev23 days ago

You can do something like $driver.getString("useridman").

bluelaser18 days ago

Thanks Anton, this works but it seems like only the Driver Change notification has access to this context.

Anton Tananaev18 days ago

That's expected.