Personal tools
You are here: Home Products Plone Roadmap #130: Integration of PloneWorkflowTransitions in to Plone
Document Actions

#130: Integration of PloneWorkflowTransitions in to Plone

Contents
  1. Motivation
  2. Proposal
  3. Implementation
  4. Risks
  5. Participants
by Riccardo Lemmi last modified June 11, 2006 - 00:22
Make the "state" action able to redirect to url defined in "Display in actions box URL" attribute of a workflow transition.
Proposed by
Riccardo Lemmi
Proposal type
User interface
State
being-discussed

Motivation

Some use cases require, when a user try change the state of a content, to redirect the user to a form, currently the only way to do it is to customize 'global_contentmenu.pt'.

Proposal

The product "PloneWorkflowTransition" customize the 'global_contentmenu.pt', so that the url showed in the 'state' action be the "Display in actions box URL" attribute and rewrite all the old urls in the workflow definitions to be the real.

Implementation

To have this feature integrated in Plone it is needed to integrate 'global_contentmenu.pt' of "PloneWorkflowTransition" and to rewrite all the workflow transition definitions in PloneWorkflow.py and FolderWorkflow.py.

Risks

A product like "PloneWorkflows", or in general products installing new definitions of workflows require to rewrite the actbox_url to the real url, for example in plone_workflow there is:

actbox_url = "%(content_url)s/content_publish_form"

this should be transformed in:

actbox_url = "%(content_url)s/content_status_modify?workflow_action=publish"

to work correctly.

Participants

Riccardo Lemmi, Vincenzo Di Somma

isn't this just configuration

Posted by Kapil Thangavelu at April 14, 2006 - 15:34
isn't this just configuration, which can be managed for site specific use cases in 2.5 via generic setup configuration management, and definition of a new profile.

Re: isn't this just configuration

Posted by Riccardo Lemmi at April 14, 2006 - 18:01

I don't know very well generic setup configuration, but it is not a question of configurantion of workflows only, because at least global_contentmenu.pt should be rewrite to read the actbox_url attribute. Anyway I will check this possibility.

This is key

Posted by Alex Stone at June 29, 2006 - 17:00

This is one of the major features in Plone Workflow I find lacking. Because most workflows are meaningless without associated actions (Workflow scripts, variables), it is important for the user to be able to interact with the workflow transition.


For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by