fix: use existing workflow
This commit is contained in:
parent
7ac99e8259
commit
5f1a77a3b0
|
|
@ -47,6 +47,7 @@ export class PostActivity {
|
|||
workflowId: `post_${post.id}`,
|
||||
taskQueue: 'main',
|
||||
signal: 'poke',
|
||||
workflowIdConflictPolicy: 'USE_EXISTING',
|
||||
signalArgs: [],
|
||||
args: [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ export class NotificationService {
|
|||
],
|
||||
],
|
||||
taskQueue: 'main',
|
||||
workflowIdConflictPolicy: 'USE_EXISTING',
|
||||
args: [{ organizationId: orgId }],
|
||||
typedSearchAttributes: new TypedSearchAttributes([
|
||||
{
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ export class EmailService {
|
|||
signal: 'sendEmail',
|
||||
args: [{ queue: [] }],
|
||||
signalArgs: [{ to, subject, html, replyTo }],
|
||||
workflowIdConflictPolicy: 'USE_EXISTING',
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue