Hi Guys,
Please excuse if this is an elementary question but would really appreciate the help on this as I couldn’t find it on any other posts on the forum.
CC: @vini_brito , @keith
What I’m doing:
- Writing a plugin with client side action
- It exposes two states location and price
- Both the exposed states are being pushed using instace.publishState(“location”, “location”)
- I’m able to see the value in the workflow when I’m setting a custom state [csLocation] as well.
- However, I’m not being able to assign to a thing in the db
ex: - Create new thing, thing’s location = Element A’s location
or - Create new thing, thing’s location = csLocation’s value
Neither 1 nor 2 are working as both fields in the database are empty for the created thing.
And I didn’t observe any errors in the debugger or in the logs.
I could be missing something here, please hlep.
Thanks in advance.