Hello,
I am currently working on a feature that ensures contracts are not automatically removed from saved surveys when their status changes to a value that does not meet the survey's filtering criteria. For instance, if a survey is saved with contracts in a "Registered" status and then the status changes to "Cancelled", the contracts disappear from the survey. I'm want to retain the list of contracts as it was captured at the time of the survey's save action.
Could anyone guide me on implementing a solution within Creatio that allows capturing a snapshot of contracts at the moment a survey is saved? This snapshot should persist even if subsequent changes to contract status would normally filter these contracts out of the survey view.
What would be the best approach to handle this requirement? Is there a way to hook into the save event of a survey or a contract status change event to trigger this capture?
Any advice or pointers towards relevant documentation would be greatly appreciated.