Add comment to Workflow transition/state in Volto

Good morning, Plone community!

I have a question regarding Volto CMS. How do I add an option programatically for users to post a comment for a workflow transition/state in Volto?

I thank you kindly.

Sincerely,

rbrown12

You'll have to customize this component: volto/Workflow.jsx at master · plone/volto · GitHub

And probably the workflow action: volto/workflow.js at master · plone/volto · GitHub

I was actually looking for the changeNote. Would the process be similar?

I thank you kindly.

rbrown12

Good afternoon, Plone Community!

I have been trying after several attempts to enable discussions when a user posts a comment regarding a workflow state change. Unfortunately, I was unable to successfully post a comment through the Volto instance. It works fine when I use curl via the command line and when I use postman. The message I get in the console is “401 Unauthorized”. I also find that the “allow discussions” behavior doesn’t save in Volto. Everything works fine in Plone. I am currently using Plone 5.2.4 and Volto 12.7.0. What else can be done?

I thank you kindly.

rbrown12

Plone Foundation Code of Conduct