How to publishState an object when building a Plugin?

Hi,

How do I publish a state of a JSON object that is created in a plugin element action? I want to save this object to the database.

Thank you,
Jack

instance.publishState(param)

You’ll need to put after your response
Use console log right before to see output when testing

You may need to stringify it first

1 Like

Create a data type with the api connnector. Return it as such.