add args to WorkflowA call
ci / build (push) Failing after 2m0s Details

This commit is contained in:
CJ_Clippy 2024-07-16 00:43:44 -08:00
parent 0856d73473
commit 0f08dc6e11
1 changed files with 2 additions and 1 deletions

View File

@ -67,7 +67,8 @@ const client = new Client({ connection, namespace: 'futureporn' });
const wfId = `process-email-${createId()}` const wfId = `process-email-${createId()}`
const handle = await client.workflow.start(WorkflowA, { const handle = await client.workflow.start(WorkflowA, {
workflowId: wfId, workflowId: wfId,
taskQueue: 'futureporn' taskQueue: 'futureporn',
args: [ 'CJ_Clippy' ]
}); });
const result = await handle.result() const result = await handle.result()
console.log(result) console.log(result)