Computed attribute for vehicle status

netluca17 years ago

Dear,

I am using the Teltonika protocol.
I tried to create this calculated attribute

Dear,

I am using the Teltonika protocol.
I tried to create this calculated attribute

Description: Vehicle-Movement Vehicle Status
Attribute: Movement
Expression:
power == tru && motion == true? "Vehicle in motion":
power == tru && motion == false? "Vehicle stopped engine on":
power == false && motion == false? "Vehicle parked":
null
Type: Boolean

the problem lies in "TYPE" which is stuck on "Boolean" and you can not use "String"

Are there any other solutions?

Anton Tananaev7 years ago

Why are you spamming everywhere with same questions?

netluca17 years ago

Excuse me Anton was not my intention.
This example and the previous one were just to make it clear that if there was the possibility to change the TYPE value by choosing what serves the attributes are more flexible

Anton Tananaev7 years ago

I have already answered on the other thread what your problem is. You are trying to re-use existing attributes instead of defining your own one.

netluca17 years ago

I'm sorry I did not understand that you could customize and then change type.

All solved
you can close it