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

Add firstExecutionRunId to system search attribute #4247

Open
longquanzheng opened this issue Apr 27, 2023 · 1 comment
Open

Add firstExecutionRunId to system search attribute #4247

longquanzheng opened this issue Apr 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@longquanzheng
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Right now runId is always changed when :

  • ContinueAsNew
  • Reset
  • Cron
  • WorkflowRetry

However, user have to rely on runId to distinguish different executions when using IdReusePolicy. For example, user starts two different runs with IdReusePolicy, and they are both completed after certain reset or continueAsNew.

Now user wants to query the final workflow results for different runs.

Describe the solution you'd like
User can provide the firstExecutionRunId to find out the last runId (filter by completed or running status) to find out the last runId. And then use the final runId to query the workflows

Describe alternatives you've considered
User can do search attribute themselves, but it's repeated work.

Additional context
NA

@longquanzheng longquanzheng added the enhancement New feature or request label Apr 27, 2023
@alexshtin
Copy link
Member

Similar issue: #351

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants