-
Notifications
You must be signed in to change notification settings - Fork 78
docs: add note for schedule update command #945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bc7c4a8
2e63161
57be47c
3712a3f
07dfc3e
8f916d5
c877cf7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2122,6 +2122,7 @@ commands: | |
| For example, every Friday at 12:30 PM: `30 12 * * Fri`. | ||
| option-sets: | ||
| - schedule-configuration | ||
| - schedule-create-only | ||
| - schedule-id | ||
| - overlap-policy | ||
| - shared-workflow-start | ||
|
|
@@ -2240,6 +2241,16 @@ commands: | |
| --schedule-id "YourScheduleId" \ | ||
| --workflow-type "NewWorkflowType" | ||
| ``` | ||
|
|
||
| This command performs a full replacement of the Schedule | ||
| configuration. Any options not provided will be reset to their default | ||
| values. You must re-specify all options, not just the ones you want to | ||
| change. To view the current configuration of a Schedule, use | ||
| `temporal schedule describe` before updating. | ||
|
|
||
| Schedule memo and search attributes cannot be updated with this | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is wrong: search attributes can be updated with update. Currently memo can't, but there's an open feature request for that.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't see this comment before merging. This line could probably be a bit more clear. From my understanding, search attributes for the schedule itself can not be modified with this command. BUT the server does support this.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. FWIW, the cli should support updating schedule search attributes and there's been requests to have 'patch' like behavior.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right, support for updating schedule SAs was was never added to CLI, only to SDKs. It should be easy to add though since it's supported in Go SDK |
||
| command. They are set only during Schedule creation and are not affected | ||
| by updates. | ||
| option-sets: | ||
| - schedule-configuration | ||
| - schedule-id | ||
|
|
@@ -4351,6 +4362,9 @@ option-sets: | |
| Interpret calendar specs with the `TZ` time zone. | ||
| For a list of time zones, see: | ||
| https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. | ||
|
|
||
| - name: schedule-create-only | ||
| options: | ||
| - name: schedule-search-attribute | ||
| type: string[] | ||
| description: | | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.