Jump to content

Deep dive: Generate repeatable groups from associated records

From Resco's Wiki
Revision as of 10:44, 11 November 2025 by Marek Rodak (talk | contribs) (Created page with "{{WIP}} In this guide, we will demonstrate how a custom JavaScript function can be used to generate as many repeatable groups as there are associated records of the parent. This use case showcases a scenario where we open a questionnaire directly from a work order, with as many question groups as there are associated work order incidents. ==Prerequisites== *workorder lookup question *repeatable group with workorder lookup incident *note: If you want to work with more...")
(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.

In this guide, we will demonstrate how a custom JavaScript function can be used to generate as many repeatable groups as there are associated records of the parent.

This use case showcases a scenario where we open a questionnaire directly from a work order, with as many question groups as there are associated work order incidents.

Prerequisites

  • workorder lookup question
  • repeatable group with workorder lookup incident
  • note: If you want to work with more questions in repeatable group instances, these questions must be defined.