I am using ‘Save to Case’ under a ‘Repeat Group’ to create a case. I was able to create the case, but I have a problem when I try to create a relationship (host-extension) with another case created in the same Repeat Group. As shown on the attached screenshot, I want to create delegation and illness cases and I want to make the illness case a Host to the delegation case. I tried specifying the illness_id as an index to the delegation case, but the illness_id can have a value when the repeat group is completed. So, it returns an empty ID, and the relationship won’t be created.
I would appreciate any help.