In Zoho Creator’s Deluge scripting language, the input map is a built-in object that provides access to the field values submitted in the current form record. When a workflow trigger fires, input.FieldName returns the value the user entered in that field. It is the primary mechanism for reading form data inside a Deluge script.
A typical use of the input map is to read a submitted field value and apply conditional logic. For example, if a form has a Quantity field, a Deluge script can check input.Quantity and if it exceeds a threshold, trigger an approval task or send an alert email. The input map is available in On Submit, On Add, and On Edit trigger contexts.
The input map provides the values being written in the current operation, while the record object (available in On Edit context) provides the previously stored values. In an On Edit trigger, comparing input.Status with record.Status allows the script to detect whether the Status field specifically changed, enabling targeted conditional logic rather than reacting to every edit.
Aaxonix is a certified Zoho implementation partner based in Pune. Architecture-first, no surprises.