sdk-java
sdk-java copied to clipboard
Test server issues with legacy query
Expected Behavior
Test server sends legacy query and activity resolution at the same time and workflow should be able to send response to query and next command.
Actual Behavior
This one is a bit hard to reproduce. You have to make an activity resolution happen at the same time as a query. Then the query comes over as a legacy query from the test server and the workflow responds to the query and does a start child workflow in the same response. Core responds to this with:
Lang SDK sent us a malformed workflow completion for run (a067d736-1f05-4217-8c4c-4c4c5674c605): Workflow completion had a legacy query response along with other commands. This is not allowed and constitutes an error in the lang SDK