st2web icon indicating copy to clipboard operation
st2web copied to clipboard

Default inquiry respond doesn't populate response payload

Open amanda11 opened this issue 5 years ago • 1 comments

This issue is seen on StackStorm 3.2.0 and 3.3.0dev.

Steps to reproduce:

  1. Run action core.ask and take the default parameters
  2. In the Inquiries tab, go the pending inquiry and hit Respond without clicking on the "continue" checkbox
  3. Expected outcome - should send default value of continue: false, but it sends into st2 api a response payload of {} Default

NB. If you instead click and then unclick the continue box, then it will send a response payload of { continue: false} ContinueFalse

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 {}

amanda11 avatar Oct 12 '20 14:10 amanda11

I ended up putting the default response in the workflow itself. I use a .get(value, "default") in my yaql.

guzzijones avatar Oct 15 '20 15:10 guzzijones