Form Logic & Schema
📄️ JSON Schema Explained
tSM forms are driven by JSON Schema, a structured format that defines:
📄️ Frontend Scripting with JEXL
JEXL (JavaScript Expression Language) enables dynamic behavior in tSM forms — such as showing/hiding fields, calculating default values, or enforcing validation rules — all without backend code.
📄️ JEXL in JSON Schema
tSM allows you to embed JEXL expressions directly inside a form’s JSON Schema. This enables dynamic UI behavior — such as hiding fields, making them read-only, or changing layout elements — based on runtime context or form data.
📄️ Backend Scripting with SpEL
SpEL (Spring Expression Language) is the scripting engine used in tSM to power backend automation, workflow execution, and process logic. It allows you to reference entities, calculate values, enforce conditions, and interact with data programmatically — directly from inside BPMN processes, service tasks, SLA rules, and API hooks.