Dustin Surwill (dsurwill@shield-legal.com)
2025-05-02 18:55:54

Here are the leads that I have filtered that supposedly hit FINAL without a contract. SELECT id FROM lead WHERE id IN (SELECT DISTINCT leadid FROM lead_history_status WHERE tostatus='Signed e-Sign FINAL') and id NOT IN (SELECT DISTINCT leadid FROM lead_history_status WHERE tostatus='Signed e-Sign') AND id NOT IN (SELECT DISTINCT leadid FROM lead_contract) AND statusid NOT IN (3050, 8, 25, 13, 3041, 3111) AND casetypeid NOT IN (SELECT id FROM case_type WHERE name ILIKE '%test%' OR id IN (1761, 1696)) AND userassigneeid NOT IN (407) ORDER BY id; The query filters out test case types and secondary statuses.

id 79705 90244 96755 97260 98741 98790 98957 99596 100938 101997 102365 102941 103295 121933 123737 149737 149813 156644 175403 175706 178116 213383 312124 312269 313674 314537 315249 316247 339250 355854 357454 360590 365307 368554 368598 368749 372203 372341 376325 376379 376818 376951 391011 399950 402949 493196 535259 537092 544575 551265 605900 665036

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-02 18:56:47

There may still be some false positives

Dustin Surwill (dsurwill@shield-legal.com)
2025-05-21 17:56:01

Here is the report of duplicate lawruler ids but different questions by case type and tab. There are 117 instances. Some of these may be false positives due to the database dump not deleting questions when they are deleted in LR but I have not found an instance of that in the 5 that I checked.