Sub-rentals

Sub-rental updated

Starts a run when «Sub-rental updated» happens in Filmo. The run receives the sub-rental in trigger_subrent and the details of the event in trigger_event.

Event
filmo.subrent.updated
PropertyValue
SourceFilmo
Section of the editorSub-rentals › Sub-rentals
RecordSub-rental
Variabletrigger_subrent

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

FieldDescription
endDateEnd date changed
notesNotes changed
providerPriceSupplier price changed
purchaseOrderPurchase order changed
quantityQuantity changed
startDateStart date changed
statusStatus changed

More in Triggers.

Configuration

eventstringRequired

The event this trigger waits for: filmo.subrent.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_subrentobject

Sub-rental

Show child attributes
trigger_subrent.idstring

Id

trigger_subrent.itemIdstring

Item id

trigger_subrent.itemNamestring

Item name

trigger_subrent.typeenum<string>

Type

Available options: bulk, serialized

trigger_subrent.statusenum<string>

Status

Available options: pending, active, completed, cancelled

trigger_subrent.quantitynumber

Quantity

trigger_subrent.providerIdstring

Supplier id

trigger_subrent.providerNamestring

Supplier name

trigger_subrent.providerPricenumber

Supplier price

trigger_subrent.startDatestring

Start date

trigger_subrent.endDatestring

End date

trigger_subrent.purchaseOrderNumberstring

Purchase order number

trigger_subrent.orderNumberstring

Order number

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.statusboolean

Status changed

trigger_event.changes.quantityboolean

Quantity changed

trigger_event.changes.startDateboolean

Start date changed

trigger_event.changes.endDateboolean

End date changed

trigger_event.changes.providerPriceboolean

Supplier price changed

trigger_event.changes.purchaseOrderboolean

Purchase order changed

trigger_event.changes.notesboolean

Notes changed