Open
Description
SUMMARY
In a workflow that has nested inquiries running at least 2 simultaneous nested workflows, if the inquiries are responded to in rapid succession the parent workflow gets stuck in a paused state.
STACKSTORM VERSION
3.1.0 python 2.7.5
OS, environment, install method
CentOS 7.6 in Docker all in one container
Steps to reproduce the problem
create a workflow with the following files
https://gist.github.com/m4dcoder/e84cf555f82f487d5bb31539d6f177fd
and respond to the inquires in rapid succession (less than a second apart). This can be done with
st2 inquiry respond <inquiry id> -r '{"approved": true}'; st2 inquiry respond <inquiry id> -r '{"approved": true}'
Expected Results
The workflow to finish with a succeeded state
Actual Results
workflow is stuck in a paused state