0

Trigger

Triggers are a cool tool for automating processes

Recently, while creating the invoice, we briefly encountered a trigger when we inserted a script at the table level into the Trigger on new record to automatically generate an invoice number.

Now, we want to take a closer look at triggers in Ninox.

ℹ️ A trigger responds to an event based on the principle: "If this happens, then do that!" Triggers can automate many manual processes for you.

In Ninox, you can use triggers in different ways, such as to:

  • Modify or supplement values when a specific action occurs
  • Execute follow-up actions
  • Open or close tables and records
  • Pre-fill fields

The Ninox Triggers

Ninox provides five types of triggers:

  • Trigger on new record (found in the table settings)
  • Trigger after modification (available in the table settings and in the field settings of almost all fields)

Here, in the table settings, you can find the "Trigger on new record" and the "Trigger after modification"

These are the most commonly used triggers. Additionally, there are:

  • Trigger after opening (found in database options)
  • Trigger before display (available in the field settings for the tab field)
  • Trigger after hiding (available in the field settings for the tab field)

Next, we will take a closer look at a Trigger after modification within the field settings of a link field...

Reply

null