Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Reset the reason when task retry #936

Merged
merged 2 commits into from
Jan 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ Task retry(TaskDef taskDefinition, WorkflowTask workflowTask, Task task, Workflo
rescheduled.setPollCount(0);
rescheduled.setInputData(new HashMap<>());
rescheduled.getInputData().putAll(task.getInputData());

rescheduled.setReasonForIncompletion(null);

if (StringUtils.isNotBlank(task.getExternalInputPayloadStoragePath())) {
rescheduled.setExternalInputPayloadStoragePath(task.getExternalInputPayloadStoragePath());
Expand Down