# Workflow associated with a schedule not getting triggered

**URL:** <https://community.temporal.io/t/workflow-associated-with-a-schedule-not-getting-triggered/15241>\
**Category:** Community Support\
**Tags:** go-sdk\
**Created:** [November 19, 2024, 7:58am UTC](https://community.temporal.io/t/workflow-associated-with-a-schedule-not-getting-triggered/15241 "2024-11-19T07:58:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karan\_Jhaveri](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/karan_jhaveri/32/6363_2.png) [@Karan\_Jhaveri](https://community.temporal.io/u/Karan_Jhaveri)\
**Post date:** [November 19, 2024, 7:58am UTC](https://community.temporal.io/t/workflow-associated-with-a-schedule-not-getting-triggered/15241/1 "2024-11-19T07:58:04Z")

</div>

Hi Team,

need some help in debugging one issue where workflow is not getting triggered after some time.  
I am creating a schedule like below:

```auto
_, err := (*c).ScheduleClient().Create(ctx, client.ScheduleOptions{
		ID: request.ScheduleId,
		Spec: client.ScheduleSpec{
				StartAt: time.Now().Add(2 * time.Minute),
				EndAt: time.Now().Add(10 * time.Hour),
			},
		Action: &client.ScheduleWorkflowAction{
			ID: request.WorkflowId,
			Workflow: request.WorkflowFunc,
			Args: request.WorkflowArgs,
			TaskQueue: request.TaskQueue,
			WorkflowExecutionTimeout: 3 * time.Minute,
			WorkflowRunTimeout: 3 * time.Minute,
			WorkflowTaskTimeout: 3 * time.Minute,
		},
	})

```

its working fine if I manually trigger the schedule using CLI but not executing workflow automatically after 2 mins  
Also even if I trigger it manually, schedule is still showing in RUNNING state even after activity execution is completed, any specific reason behind this ?  
Please let me know if I am missing anything cc: @maxim
