Expressions - Common Patterns
State Access
=@ctx.solution.state.counter # Global app state
=@ctx.jig.state.filter # Screen state
=@ctx.components.email.state.value # Component value
=@ctx.current.item.name # Current list item
=@ctx.jig.inputs.customerId # Navigation parameters
=@ctx.datasources.customers[0].name # Datasource data
=@ctx.solution.state[@ctx.user.id] # Dynamic bracket notationSafe Defaults
=@ctx.user.displayName ?: @ctx.user.email ?: 'Unknown' # Elvis - falsy fallback
=@ctx.solution.state.note ?? 'N/A' # Null coalesce
=@ctx.jig.state.total ~> $type = 'number' # Type guard
=@ctx.components.form.state.isValid ? 'valid' : 'invalid'Actions Context
=@ctx.actions.save.state.isPending # Action status - tracks whether an async action is
# currently executing. Returns true while an async action
# is in progress and false when idle.
# Supported for all async actions. Sync-only actions
# (e.g. go-to, set-state, reset-state) always return false.
=@ctx.actions.save.state.response # Action result
=@ctx.actions.save.state.value # Action value
=@ctx.actions.export.outputs.fileUri # Action outputsFunction Context (REST/SQL/SOAP)
Functions
Built-in Functions
Data Filtering
Filtering & Conditionals
Validation
Last updated
Was this helpful?