Hi all!
I have a web map created to use in Field Maps for data collection and inspections of stormwater features. I used related tables with the parent "Inlets" and child "Inspections". I needed to copy the fields from the most recent child record to the parent record. Using the calculated expression below I was able to do so. I thought it was working great until I went to test in Field Maps and encountered "Failed to calculate expression" for all of the fields with the calculated value. It will not let me create a new parent feature because of this in mobile (the same alert appears in web but will let the feature be created and from there works fine). I've tried making those fields hidden but then get the error "5 hidden attributes failed" when submitting. At a loss for how to get this to work. Help please.

