You can reattempt a task that has failed all of its attempts. You can also replay a task with a new version of your code.
trigger()
or batchTrigger()
on a task you receive back a run handle which has an id
property. You can use that id
to replay the run.
You can also access the run id from inside a run. You could write this to your database and then replay it later.