Skip to content

Nested inquiries in a with-item task status change not propagating to the main workflow #4825

Open
@jdmeyer3

Description

@jdmeyer3

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions