Transport

Vehicle updated

Starts a run when «Vehicle updated» happens in Filmo. The run receives the vehicle in trigger_vehicle and the details of the event in trigger_event.

Event
filmo.vehicle.updated
PropertyValue
SourceFilmo
Section of the editorTransport › Vehicles
RecordVehicle
Variabletrigger_vehicle

An update event can start a run only when one of these fields changed: set it in «changedField».

FieldDescription
collectionCollection changed
inspectionDateInspection (ITV) date changed
nameName changed
registrationNumberLicence plate changed
statusStatus changed

More in Triggers.

Configuration

eventstringRequired

The event this trigger waits for: filmo.vehicle.updated.

filtercondition

The trigger's gate: «only when…». A condition evaluated against the event and the record before the run is created; if it is not met, no run is created. If absent, there is no filter and the event passes. If present, it must be complete, with the variable chosen: saving a half-configured filter is rejected.

changedFieldstring

Only for update events («Only when … changes»): one of the fields the event declares as changeable. It passes only when that field changed. If absent, any update passes. For those events the editor offers this instead of the filter.

What the run receives

trigger_vehicleobject

Vehicle

Show child attributes
trigger_vehicle.idstring

Id

trigger_vehicle.namestring

Name

trigger_vehicle.statusenum<string>

Status

Available options: active, maintenance, inactive

trigger_vehicle.registrationNumberstring

Licence plate

trigger_vehicle.collectionNamestring

Collection

trigger_vehicle.inspectionDatestring

Inspection (ITV) date

trigger_vehicle.seatsnumber

Seats

trigger_vehicle.payloadKgnumber

Payload (kg)

trigger_vehicle.costPerKmnumber

Cost per km

trigger_vehicle.fixedCostnumber

Fixed cost

trigger_eventobject

The event. The same envelope arrives with every event.

Show child attributes
trigger_event.namestring

Name

trigger_event.entityTypestring

Entity type

trigger_event.entityIdstring

Entity id

trigger_event.entityNamestring

Entity name

trigger_event.actionCodestring

Action code

trigger_event.originenum<string>

Source

Available options: neo, workflow, api, mcp, integration

trigger_event.actorobject

Author

Show child attributes
trigger_event.actor.kindstring

Type

trigger_event.actor.idstring

Id

trigger_event.actor.namestring

Name

trigger_event.changesobject

Changes

Show child attributes
trigger_event.changes.nameboolean

Name changed

trigger_event.changes.statusboolean

Status changed

trigger_event.changes.registrationNumberboolean

Licence plate changed

trigger_event.changes.collectionboolean

Collection changed

trigger_event.changes.inspectionDateboolean

Inspection (ITV) date changed