Skip to content

bmel:self

Category: Logic & Control Flow · Returns: bmel:any

Signature
bmel:self(value: bmel:any)

Description

Identity function. Returns the argument value unchanged. Useful to make a bare field reference or literal valid in contexts that require a function expression, or to document intent explicitly.

Arguments

Parameter Type Required Description
value bmel:any The value to return as-is.

Examples

Use a field as is
bmel:self({createOrder:Request Payload}.$.order_id)
A constant value
bmel:self('WEB')

← Back to BMEL Reference