cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How "detect deleted" works in full aggregation?

How "detect deleted" works in full aggregation?

  • This is for full aggregation with "Detect Deleted" checked in its task definition. For Delta aggregation, "Detect Deleted" will be ignored;

  • The delete phase always happens after the primary aggregate phase during a aggregation;
  • In the primary aggregate phase, no matter the optimization option is enabled or not, accounts that exist in source will always have their last refresh timestamp updated;

   

  • When the aggregation starts, it gets the current timestamp ( Date startTimestamp = new Date() ) and when it gets to the delete phase, it does the comparison as below:
  1. select *  
  2. from spt_link  
  3. where (last_refresh < startTimestamp  or last_refresh isnull) and
  4. created < startTimestamp and
  5. application = "source app"

 

Hope this helps with your understanding of how should-be-deleted accounts are detected.

For more details on aggregation workflow, please see Aggregation Data Flow.pdf

Labels (1)
Version history
Revision #:
3 of 3
Last update:
‎May 16, 2026 01:13 PM
Updated by: