Back to index

plone3  3.1.7
placeful_workflow_configuration_add.py
Go to the documentation of this file.
00001 ##parameters=
00002 ##title=add workflow policy configuration
00003 ##
00004 
00005 from Products.CMFPlacefulWorkflow import CMFPlacefulWorkflowMessageFactory as _
00006 
00007 context.manage_addProduct['CMFPlacefulWorkflow'].manage_addWorkflowPolicyConfig()
00008 
00009 context.plone_utils.addPortalMessage(_(u'Workflow policy configuration added.'))
00010 context.REQUEST.RESPONSE.redirect('placeful_workflow_configuration')