diff --git a/connectors/src/connectors/confluence/index.ts b/connectors/src/connectors/confluence/index.ts index 96660a78c41e..022d41b7506a 100644 --- a/connectors/src/connectors/confluence/index.ts +++ b/connectors/src/connectors/confluence/index.ts @@ -230,6 +230,10 @@ export async function pauseConfluenceConnector( } await connector.markAsPaused(); + const r = await stopConfluenceSyncWorkflow(connectorId); + if (r.isErr()) { + return r; + } return new Ok(undefined); }