sdk-java icon indicating copy to clipboard operation
sdk-java copied to clipboard

Test server issues with legacy query

Open cretz opened this issue 4 years ago • 6 comments

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

cretz avatar Sep 14 '22 15:09 cretz