Skip to content

Commit bdb320e

Browse files
committed
feat(flow): add timestamp to node execution names
Include date and time in node execution names for easier identification of when executions occurred. Format: "Node Name - YYYY-MM-DD HH:MM"
1 parent 6106aca commit bdb320e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/server/internal/api/rflowv2/rflowv2_exec.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,12 @@ func (s *FlowServiceV2RPC) executeFlow(
308308
}
309309
}
310310

311+
// Include timestamp in execution name for easy identification
312+
executionName := fmt.Sprintf("%s - %s", status.Name, time.Now().Format("2006-01-02 15:04"))
311313
model := mflow.NodeExecution{
312314
ID: execID,
313315
NodeID: status.NodeID,
314-
Name: status.Name,
316+
Name: executionName,
315317
State: status.State,
316318
ResponseID: status.AuxiliaryID,
317319
}

0 commit comments

Comments
 (0)