How to pass multiple parameters using temporal CLI input command?

Hi there,

I’ve got a question regarding using temporal CLI to pass multiple parameters via input command. e.g. my workflow signature is :
createAccount(String payload, CashAccountDto request, String workflowId); //return value omitted
My CLI is:

temporal workflow start \
    --type CreateAccountWorkFlow \
    --task-queue your-task-queue \
    --workflow-id my-first-workflow \
    --input '"CMH-12345" \
	{ \
      "workingCashAccountName": "Some Account1", \
      "hasError": true \
    } \
	"my-first-workflow"'

but it prompted me
level=ERROR msg="input #1 is not valid JSON"

Could someone help me to figure out what’s the problem and how I should pass these parameters?
Thanks a lot.

Hi there, is anyone able to answer the question? Thanks a lot. :slightly_smiling_face:

I have the same question. No examples of how to pass multiple parameters. If I put valid JSON into a file and pass --input-file, workflow starts, but then immediately fails because it can’t parse out the input.