This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.

⚠️ We've moved!

Hi there!

To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.

Use 🔗 Github Discussions to ask your questions.

Must either be a string or None. Got \"list\"."

Hi All,

The publish statement assigned the output as a list to a variable and the next task is expecting string type instead of the LIST. Is it possible to convert the output from LIST to STRING.

Please help me if anyone worked this kind of requirement.

Thanks and Regards,
Ramesh

You should be able to use a Jinja filter to do this.

Thank you @blag for your quick response.

Jinja:
param: {{ ctx().foo | string }}
Yaql:
param: <% ctx().foo.join("") %>

Thank you @Bryan for your help.