I am trying to complete a workflow transition using Script Python.
Like this:
wtool = context.portal_workflow
obj = context.Plone.doc1
wtool.doActionFor(obj, 'publish')
obj.reindexObject()
But I have a confirmation page. This is the name of the page Confirming User Action.
I think this is an automatic CSRF protection feature. Please let me know. Ignoring protection for my script.
source
share