Basic field mapping
Available functions
| Function | Purpose | Example |
|---|---|---|
lowercase() | Convert to lowercase | lowercase(.email) |
uppercase() | Convert to uppercase | uppercase(.code) |
titlecase() | Title case | titlecase(.name) |
trim() | Remove whitespace | trim(.value) |
match() | Regex matching | match(.email, ".*@corp\\.com") |
extract() | Extract regex group | extract(.urn, "user-([0-9]+)") |
replace() | String replacement | replace(.name, {"old": "_", "new": "-"}) |
get() | Get with default | get(.optional, "default") |
has() | Check field exists | has(input.employee_id) |
parse_json() | Parse JSON string | parse_json(.metadata).type |
json_path() | Extract from JSON | json_path(.data, "user.name") |
Context variables
Available variables depend on context:| Variable | Available in | Purpose |
|---|---|---|
item or .column | List/Grants | Current row/item |
resource | Grants, Provisioning | Current resource |
principal | Provisioning | User being granted/revoked |
entitlement | Provisioning | Entitlement being modified |
input | Account creation | User-provided form values |
password | Account creation | Generated password |