06-09-2022, 01:23 PM
Hello there,
many thanks for you answers and sorry for the late reply,
I've ended up solving the issue by slightly modifying few methods: 'metadata', already argument of 'directory_checkin', is propagate to the creation of the snapshot.
As a matter of fact although 'metadata' argument makes its way to 'simple_checkin' it still needed to be passed along to FileCheckin.create_snapshot(...) method and from there to Snapshot.create() where it would be finally placed within the snapshot object (snapshot.set_value("metadata", metadata ))..
Doing so, data placed within the 'metadata' argument when *_checkin() is called it will be already available when the trigger is caught.
Many thanks, regards,
Stefano
many thanks for you answers and sorry for the late reply,
I've ended up solving the issue by slightly modifying few methods: 'metadata', already argument of 'directory_checkin', is propagate to the creation of the snapshot.
As a matter of fact although 'metadata' argument makes its way to 'simple_checkin' it still needed to be passed along to FileCheckin.create_snapshot(...) method and from there to Snapshot.create() where it would be finally placed within the snapshot object (snapshot.set_value("metadata", metadata ))..
Doing so, data placed within the 'metadata' argument when *_checkin() is called it will be already available when the trigger is caught.
Many thanks, regards,
Stefano