prepare For Processing
Resolves whether the item is eligible for processing based on its state (i.e. status, timestamps, etc.) and the current time (supplied as a parameter). If the item is eligible for processing, it is marked as such and its status and run timestamps are updated accordingly.
Parameters
now
the current time
rerun After
the timestamp to which the rerunAfter
property should be set if the item is indeed eligible for processing and is marked as such.