So I have a bit of a puzzling behavior.
We have been working on a custom widget that allows us to collect data from a form, and then add it to a table in AGOL. The edit is conducted via apply edits sending the new feature with 'add-feature' as part of the data sent.
When it returns it returns as expected and that table entry now appears:
![TimWestern_0-1718830690546.png TimWestern_0-1718830690546.png](https://community.esri.com/t5/image/serverpage/image-id/107465i11EFF24C4D8D4448/image-size/medium?v=v2&px=400)
This table also has a relationship with the ID Field used for the parcel, so I have to make sure the relationship is created in code. I use a similar service call (just different feature data going to the relationship and it returns:
![TimWestern_1-1718830745017.png TimWestern_1-1718830745017.png](https://community.esri.com/t5/image/serverpage/image-id/107466iB989D68DFB797FBD/image-size/medium?v=v2&px=400)
At first I thought it must have worked because I got a globalID back, but it doesn't include success= true and error is returned = null. Does this mean the add failed? Or is it possible I've done something else wrong?
The table and relationship are in the same service (and are also in a map that uses the service inside of it in case that matters).
Any thoughts?