Skip to content

Commit 429ce17

Browse files
authored
Update go-client startworkflow options with First Run At Parameter (#244)
1 parent 5ef8459 commit 429ce17

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/05-go-client/03-starting-workflows.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,5 +181,10 @@ type StartWorkflowOptions struct {
181181
// This works with CronSchedule and with DelayStart.
182182
// Optional: defaulted to 0 seconds
183183
JitterStart time.Duration
184+
185+
// FirstRunAt - Specific time (in RFC 3339 format) to let the first run of the workflow to start at,
186+
// This will only be used and override DelayStart and JitterStart if provided in the first run
187+
// Optional: defaulted to Unix epoch time
188+
FirstRunAt time.Time
184189
}
185-
```
190+
```

0 commit comments

Comments
 (0)