04-07-2022, 03:37 PM
Hello there,
I've been trying to use checkin triggers but I run into the following problem.
Although snapshot's 'metadata' information is set at 'checkin' time (and properly displayed when, later on, I access to the DB), it become 'Null' when I read the snapshot data as they became available within the trigger script:
As a matter of fact, in the trigger script, when I access to input['snapshot'] or input['update_data'] (which is the same thing), the 'metadata' content is empty!!
Is there a way to have 'metadata' field properly set when trigger script is executed?
Or, is there any other way to pass arguments at 'checkin' time (i.e.: simple_checkin()) so that they are available when the trigger script is executed?
Many thanks, regards,
Stefano
I've been trying to use checkin triggers but I run into the following problem.
Although snapshot's 'metadata' information is set at 'checkin' time (and properly displayed when, later on, I access to the DB), it become 'Null' when I read the snapshot data as they became available within the trigger script:
As a matter of fact, in the trigger script, when I access to input['snapshot'] or input['update_data'] (which is the same thing), the 'metadata' content is empty!!
Is there a way to have 'metadata' field properly set when trigger script is executed?
Or, is there any other way to pass arguments at 'checkin' time (i.e.: simple_checkin()) so that they are available when the trigger script is executed?
Many thanks, regards,
Stefano