I created a feature layer (hosted) where I am attempting to generate a unique ID each time a new feature is inserted. I have some existing data but the collectors will need to add features into the layer. I have global IDs and GUIDs in the related table, but I would like an easy to reference unique ID in my feature layer as well.
I learned how to do this in ArcGIS Pro and it was pretty straight forward. In Pro you have the option to select the trigger that initiates the attribute rule (Insert, Update, Delete). But after establishing this in Pro, I uploaded to AGOL and these settings did not carry over. So I kept Googling and I found this ESRI article on how to accomplish unique ID generation in my Field Maps form using an arcade expression.

However, after applying the arcade expression on my unique ID field, I did testing in my web map and the existing IDs change when updating features. Is there something I could add to the arcade expression so the web map knows to only generate the next sequential number when a NEW feature is added? Similar to checking the "Insert" box when establishing an attribute rule in ArcGIS Pro?