-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
Expected Behavior
Running the Temporal CLI command for creating schedules (temporal schedule create) creates a schedule according to provided arguments (such as --input {\"TestNumber\":\"650537101\",\"TestID\":1}).
Actual Behavior
No schedule is created when running the Temporal CLI command for creating schedules. The following output (error) is shown in Command Prompt:
- Error: input is not valid JSON: unexpected end of JSON input
('export TEMPORAL_CLI_SHOW_STACKS=1' to see stack traces)
Steps to Reproduce the Problem
- Deploy the Temporal Server using the
docker-compose.ymlfile from https://github.com/temporalio/docker-compose. - Open Command Prompt
- Run
docker exec temporal-admin-tools temporal schedule create -s test-schedule-id -w test-scheduled-workflow -t TEST_TASK_QUEUE --workflow-type TestWorkflow --input {\"TestNumber\":\"650537101\",\"TestID\":1} --interval 1m
Specifications
- Version: 1.20.0
- Platform: Windows 10
Additional context
- Passing only one key:value pair in the JSON object input works. For example, a schedule is successfully created when the input is
--input {\"CardNumber\":\"650537101\"}. - Using tctl instead of Temporal CLI (and changing some flags where necessary) works. For example, a schedule is successfully created when running
docker exec temporal-admin-tools tctl schedule create --sid test-schedule-id --wid test-scheduled-workflow -tq TEST_TASK_QUEUE -wt TestWorkflow --input {\"TestNumber\":\"650537101\",\"TestID\":1} --interval 1m.
Metadata
Metadata
Assignees
Labels
No labels