sdk-java
sdk-java copied to clipboard
Search attributes are not carried forward on ContinueAsNew
Expected Behavior
Search attributes to be carried-forward during Workflow.continueAsNew()
Actual Behavior
Continued-as-new workflows are missing the search attributes from the original run.
Steps to Reproduce the Problem
- Create a workflow with search attributes
- Call
continueAsNew
- Verify via tctl that search attributes are missing from new run ID.
Specifications
- Version: 1.10.0
- Platform: 1.15.2
Use ContinueAsNewOptions.Builder#setSearchAttributes
to pass search attributes into continueAsNew
for now.
Use
ContinueAsNewOptions.Builder#setSearchAttributes
to pass search attributes intocontinueAsNew
for now.
Is there a similar possibility in the python SDK for retry_policy
? I don't see retry_policy
as a param in continue_as_new
.
Is there a similar possibility in the python SDK for retry_policy? I don't see retry_policy as a param in continue_as_new.
@patte Please post as a question in #python-sdk
channel of our Community Slack or as a feature request in https://github.com/temporalio/sdk-python/issues. Our Python SDK is still in beta, but this should be available there one day.
closing in favor of https://github.com/temporalio/sdk-java/issues/1201 since there are more attributes not passed then just SA.