Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default inquiry respond doesn't populate response payload #809

Open
amanda11 opened this issue Oct 12, 2020 · 1 comment
Open

Default inquiry respond doesn't populate response payload #809

amanda11 opened this issue Oct 12, 2020 · 1 comment
Labels

Comments

@amanda11
Copy link
Contributor

amanda11 commented Oct 12, 2020

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

@guzzijones
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants