st2web
st2web copied to clipboard
Default inquiry respond doesn't populate response payload
This issue is seen on StackStorm 3.2.0 and 3.3.0dev.
Steps to reproduce:
- Run action core.ask and take the default parameters
- In the Inquiries tab, go the pending inquiry and hit Respond without clicking on the "continue" checkbox
- Expected outcome - should send default value of continue: false, but it sends into st2 api a response payload of {}
NB. If you instead click and then unclick the continue box, then it will send a response payload of { continue: false}

It also fails if after clicking the continue checkbox that you then click the button to return to defaults. In this scenario it again sends the response payload of {}
I ended up putting the default response in the workflow itself. I use a .get(value, "default") in my yaql.