Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide workflow start time same as in Temporal GoSDK #1204

Open
longquanzheng opened this issue Jan 8, 2023 · 3 comments
Open

Provide workflow start time same as in Temporal GoSDK #1204

longquanzheng opened this issue Jan 8, 2023 · 3 comments
Labels
customer customer requested feature new feature request

Comments

@longquanzheng
Copy link
Collaborator

Need to sync this small feature from Temporal GoSDK

It is useful to know the start time in workflow for business.

@Groxx
Copy link
Contributor

Groxx commented Mar 29, 2023

Yeah, we were actually just discussing this lately too. Along with cron-"fired at" time.

How is it built in temporal, and which times do you use? (task-scheduled, workflow-created, cron-timer-fired-database-time, etc?) It'd be interesting for a reference at least.

@longquanzheng
Copy link
Collaborator Author

@Groxx ahh sorry for late response.
I think it's the workflow created time or the first task scheduled time based on the description -- these two won't be too different to use in practice.

https://github.com/temporalio/sdk-go/blob/eaa3802876de77500164f80f378559c51d6bb0e2/internal/workflow.go#L957

@longquanzheng
Copy link
Collaborator Author

@ibarrajo ibarrajo added customer customer requested feature new feature request labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer customer requested feature new feature request
Projects
None yet
Development

No branches or pull requests

3 participants