We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c32dd4 commit 7678245Copy full SHA for 7678245
1 file changed
apps/sim/lib/workflows/executor/human-in-the-loop-manager.ts
@@ -1541,8 +1541,8 @@ export class PauseResumeManager {
1541
workflowId: row.workflowId,
1542
executionId: row.executionId,
1543
status: row.status,
1544
- totalPauseCount: row.totalPauseCount,
1545
- resumedCount: row.resumedCount,
+ totalPauseCount: pausePoints.length,
+ resumedCount: pausePoints.filter((point) => point.resumeStatus === 'resumed').length,
1546
pausedAt: row.pausedAt ? row.pausedAt.toISOString() : null,
1547
updatedAt: row.updatedAt ? row.updatedAt.toISOString() : null,
1548
expiresAt: row.expiresAt ? row.expiresAt.toISOString() : null,
0 commit comments