The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to auto populate variables by the use of system property?

Vishal_Jaiswal
Tera Contributor

I have a requirement where we need to dynamically show/hide and auto-populate fields in a Record Producer based on selected values.

Scenario:
We have the following variables in a Record Producer:

  1. Category(Select Box)

  2. Subcategory(Select Box)

  3. Subject

  4. Attachment

Requirement:

  • Based on the selected Category and Subcategory, the Subject and Attachment fields should auto-populate and become mandatory.

  • If no matching combination is found, these fields should remain hidden.

  • There are 50+ such combinations, where multiple fields need to auto-populate and toggle mandatory status.

Constraints:

  • We cannot use UI Policies, as that would require creating 50+ separate UI Policies which would be difficult to maintain.

  • Looking for a solution using System Properties, Client Script, or other optimized logic to handle this efficiently.

Has anyone worked on a similar requirement? Please suggest the best approach or share any sample implementation.

Thanks in advance for your guidance!

@Ankur Bawiskar 

0 REPLIES 0