Skip to content

Training Use the Script Editor

Craig Scott edited this page Jun 9, 2026 · 1 revision

Training: Use the Script Editor

What you'll learn: how to write and test JSONata expressions interactively — the transform language used across Fuuz screens and flows. You need: Administrator or Developer access type in an application (UI label "Tenant"). Time: 10 minutes.

Before you start

The Script Editor evaluates JSONata — a query-and-transform language for JSON — not JavaScript. The same expression syntax powers screen transforms, flow transforms, and validation rules, so this is the place to prototype them. (JavaScript lives in data-flow Script nodes, not here.)

Steps

  1. Go to Left menu → Flows & Scripts → Script Editor. (Fallback: header Search → "Script Editor".)

  2. The layout: Payload pane on the left (the input JSON your expression runs against), the expression editor in the middle, and the Console on the right.

  3. Type a payload in the Payload pane, e.g. { "name": "Demo Widget", "qty": 10 }.

  4. Type an expression, e.g.:

    { "greeting": "Hello from Fuuz", "when": $now() }
    
  5. Run it. The Console shows the evaluated result. Script editor result

Check your work

The Console prints the result object — greeting with your text and when with the current ISO timestamp from $now().

Try it yourself

Reference the payload in an expression: name & " x " & $string(qty) concatenates fields. Then try mapping an array — change the payload to a list and use payload.items.{ "label": name }-style projections. Expressions that work here paste directly into screen and flow transforms.

Related training

Training: Create a Data Flow · Training: Generate a Screen from a Data Model

🏠 Home

Getting Started (14)
Training Guides (52)

Applications

Access & Users

Data Models & Schema

Screens

Weather Lookup Series — guided 3-part build

Data Flows & Integrations

Data, Reporting & Monitoring

Enterprise & Organizations

Platform Concepts & Architecture (10)
Screens & Application Design (17)
Data Models & Schema (8)
Data Flows & Scripting (51)

Designing Flows

Data Flow Nodes

JSONata Reference

Scripting

Integrations & Connectors (30)

General & iPaaS

Plex

EDI

IIoT & Edge Gateway (18)

Physical Device Connectors

Edge Data Connectors

Reporting, Documents & Dashboards (8)
Administration & Access Control (27)
Data Management (8)
Accelerators, Templates & Packages (8)
Design Standards (1)
How-To Guides (8)
FAQ & Troubleshooting (1)
Release Notes (117)

2026

2025

2024

2023

2022

2021

2020

Policies & Company (6)

Clone this wiki locally