hey all,
I work for a utility company and I'm building a survey where the user enters data about a leak and a work order to repair the leak. "Leaks" being the primary layer, and "Work_Orders" being a repeat. What I'm trying to do is have the user fill in a single work order (WO) while automatically creating 2 WOs. The first WO has a wo_type of either "service_leak" or "main_leak". I'd like the second WO to autofill all the same values except the wo_type would now be "recheck"
My instinct is to use indexed-repeat() but I may be misunderstanding how to use it. In the calculation column for the "wo_type" field I've put indexed-repeat(${wo_type}, ${Work_Orders}, 1). It comes back with a cycle dependency error.
Is there another way to achieve this?
Thanks in advance!