Skip to content

Use a trigger

The common Trigger methods let you persist or refresh a trigger entity and stop its execution.

Persist and refresh

update

Update the entity in the backend.

Returns:

Type Description
ContextEntity

Entity updated.

export

Export object as a YAML file in the context folder.

Returns:

Type Description
str

Exported filepath.

refresh

Refresh object from backend.

Returns:

Type Description
ContextEntity

Entity refreshed.

Control a trigger

stop

Stop trigger.