Hi,
I'm working on a workflow where a webhook fires when an attachment is added to a layer. This triggers a notebook on the notebook server to run which is code that will move this attachment to other tables based on ID. What I hoped to do in the notebook is use the extract_changes function because my layer has archiving enabled and in turn Change Tracking which I confirmed under capabilities on the REST services page. Using extract_changes, I would fetch exactly the attachments that have been added and then I could move them accordingly. That was at least my understanding of what I could do with this but I might've misunderstood the documentation.
The issue is I need the serverGens parameter and to do that I need to pull it from changeTrackingInfo. I was trying a line like this .
sg = flc.properties.changeTrackingInfo.layerServerGens[0].serverGen
But this doesn't work and it doesn't seem like i can access chnageTrackingInfo from properties at all.
I think there are other ways of going about this so if this doesn't work or I'm completely misunderstanding the functionally that that's alright but I was curious why this might be.