Hi, I'm creating a mendix page for doctors to add activities to a treatment plan. I would like to add a feature where create the doctor can add all activities automatically in one go, without having to calculate each activity date, by selecting the activity type, a startDate, period (in days) and the number of repetitions. I'm using a loop for this, but I can't figure out how it works with repititions in a loop. Can anybody help me / show an example? Thanks in advance!
When creating this, you can use a helper entity to set the start and end date for the treatment. Logically, I created a domain and microflow close to yours, and I'm attaching the pictures below.