Jump to content

On Delete

From Resco's Wiki
Revision as of 15:04, 28 November 2022 by Marek Rodak (talk | contribs) (Created page with "{{Rules TOC}} {{WIP}} <span style="float:left; padding-right:10px">100 px</span> Rules are client-side scripts (no-code business logic) that are exe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Warning Work in progress! We are in the process of updating the information on this page. Subject to change.

Rules are client-side scripts (no-code business logic) that are executed when a user of the mobile app interacts with the app. The On Delete rules are executed when an existing instance of a repeatable group is deleted. Rules are managed using the rules editor.

On Delete rules are available for the following components: Questionnaires

Repeatable group

On Delete rules are only applicable to Repeatable groups. Questions are usually organized into groups. Instead of creating a questionnaire with the same set of questions multiple times, repeatable question groups offer the ability to repeat the grouped questions either arbitrarily (not known beforehand) or precisely specified number of times. Group can be set as repeatable in questionnaire properties.

Repeatable question groups are useful in cases such as:

  • User needs to enter multiple addresses
  • User needs to enter data about more than one result of the same issue (checking 10 identical parts of a machine)
  • User needs to enter multiple pictures of the same object