Skip to main content
Known Participant
Jun 1, 2023 7:38 AM UTC
Question

How to start a for each in 1

Hi, I am trying to make this list start with a default contact, does anyone have any idea how to do it?

5 replies

stefanhelzle0001
Brainy
Jun 1, 2023 7:41 AM UTC

You need to pre-populate your rule input with actual data. Trying to manage default values inside the UI component is NOT the way to go.

harshitb6843
Brainy
Jun 1, 2023 8:02 AM UTC

Sorry, but I don't understand the problem. Can you elaborate a little, please?

Known Participant
Jun 1, 2023 8:10 AM UTC

A user can add some contacts in the application and I want to always have a default contact, because you can add contacts using the button "Agregar contacto", but as there will always be a contact I want instead of this empty one always appears, but without data, I show you how it comes out when you start the application and how I want it to be.

As it appears in this photo, I want it to appear by default.

I don't know if I have explained myself well

harshitb6843
Brainy
Jun 1, 2023 8:13 AM UTC

Then you will have to add that CDT in the contactos RI from the process itself before this ask is assigned.