From 0f08dc6e112d79c6ef784c02c8baf3eba73fb52b Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Tue, 16 Jul 2024 00:43:44 -0800 Subject: [PATCH] add args to WorkflowA call --- packages/scout/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/scout/src/index.ts b/packages/scout/src/index.ts index 17f0a39..2f47e0f 100644 --- a/packages/scout/src/index.ts +++ b/packages/scout/src/index.ts @@ -67,7 +67,8 @@ const client = new Client({ connection, namespace: 'futureporn' }); const wfId = `process-email-${createId()}` const handle = await client.workflow.start(WorkflowA, { workflowId: wfId, - taskQueue: 'futureporn' + taskQueue: 'futureporn', + args: [ 'CJ_Clippy' ] }); const result = await handle.result() console.log(result)