Affects Version/s: None
Fix Version/s: None
- What is the point of lastFuture parameter in Trigger methods, it is not used in the examples?
b. Future provided to Trigger.skipRun() would need to have result from different server, and future allows for get/cancel, and so forth. Do we really want the possibility of someone invoking those in a trigger?
c. As an example, consider a Payroll that is triggered to run every Friday at midnight. If the server went down on Wednesday and then came back up, we still want to see the Payroll run automatically on Friday at midnight. But are we expected to provide the Future from last week's run before the outage?
- what is the purpose of he baseTime parameter in:
Date getNextRunTime(Future lastFuture,
The description is circular:
baseTime - the time in which the next fire time should be based.
Do we mean the time for which the first execution was scheduled? If so, we should state that.