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.