add args to WorkflowA call
ci / build (push) Failing after 2m0s
Details
ci / build (push) Failing after 2m0s
Details
This commit is contained in:
parent
0856d73473
commit
0f08dc6e11
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue