Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Have you got a screenshot of your Job, the error message and your constructed SOQL statement?
Sorry if I was not very clear before. The issue is what it says in the error: the operator less than (<) is invalid for the types date and null -- LastModifiedDate < null
This indicates that the value of context.lastRunDate is null -- likely because it is not being set before you execute your query.