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

Allow updating memo in workflow #1033

Open
longquanzheng opened this issue Nov 4, 2020 · 1 comment
Open

Allow updating memo in workflow #1033

longquanzheng opened this issue Nov 4, 2020 · 1 comment

Comments

@longquanzheng
Copy link
Collaborator

longquanzheng commented Nov 4, 2020

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
I want to update memo during workflow execution like upsertSearchAttribute

Proposed Solution
A clear and concise description of what you want to happen.
Allow updating memo in workflow

Additional context
Add any other context or screenshots about the feature request here.
Need a support in server: uber/cadence#3729

@ibarrajo
Copy link

ibarrajo commented Nov 6, 2024

For anyone looking for a workaround:

Once a workflow is started, the memo data cannot be updated at this time. If you need the capability to update information during the workflow execution, consider using search attributes instead, which can be updated and are indexed by Elasticsearch.1

To include memo data, you should specify it as part of the StartWorkflowOptions when initiating a workflow. This is applicable for both the Go and Java clients. If modifying existing information within a running workflow is crucial, leveraging search attributes would be the appropriate approach, with extensions via the UpsertSearchAttributes function suited for this purpose. However, this requires Elasticsearch support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants