Timeline for Get last modified data older than 30 days from now in SOQL
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2022 at 11:34 | answer | added | Wagner | timeline score: -1 | |
Aug 14, 2019 at 16:14 | vote | accept | RKCY | ||
Aug 14, 2019 at 16:00 | history | edited | Adrian Larson♦ | CC BY-SA 4.0 |
deleted 90 characters in body
|
Aug 14, 2019 at 15:55 | answer | added | sfdcfox♦ | timeline score: 11 | |
Aug 14, 2019 at 15:54 | comment | added | RKCY | when I gave "LastModifiedDate > LAST_N_DAYS:30" or "LastModifiedDate < LAST_N_DAYS:30", it returns empty records even I have data. | |
Aug 14, 2019 at 15:54 | comment | added | sfdcfox♦ |
@ThomasTaylor Your > should be < , by the way.
|
|
Aug 14, 2019 at 15:52 | comment | added | Thomas Taylor |
If you want data last modified more than 30 days ago, you need WHERE LastModifiedDate > LAST_N_DAYS:30 . What you have there, WHERE LastModifiedDate = LAST_N_DAYS:30 shouldn't get all records, but only those modified within the last 30 days.
|
|
Aug 14, 2019 at 15:48 | history | asked | RKCY | CC BY-SA 4.0 |