diff --git a/internal/internal_task_pollers.go b/internal/internal_task_pollers.go index 23aa85a31..45db174eb 100644 --- a/internal/internal_task_pollers.go +++ b/internal/internal_task_pollers.go @@ -448,7 +448,7 @@ func (wtp *workflowTaskPoller) RespondTaskCompleted(completedRequest interface{} case *s.RespondDecisionTaskCompletedRequest: if request.StickyAttributes == nil && !wtp.disableStickyExecution { request.StickyAttributes = &s.StickyExecutionAttributes{ - WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID))}, + WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID)), Kind: s.TaskListKindSticky.Ptr()}, ScheduleToStartTimeoutSeconds: common.Int32Ptr(common.Int32Ceil(wtp.StickyScheduleToStartTimeout.Seconds())), } } else {