Hi,
I've modified the workflow "workspace_folder_wf" to change the action
taken by the transition "translate" and I've noticed once this is done,
scripts after and before don't execute.
It sounds like you are not really executing the transition.
2.- Modify formatted URL of the transition from
"%(content_url)s/content_translate_form" to "%(content_url)s/reconfig_form"
The action of portal reconfiguration can be taken without problems.
Yes, but you're not executing any workflow transition here, you're
editing the portal properties.
What's important is not the template used, but the script called when
form is submitted. The content_translate_form.pt template calls the
content_translate.py script: it is the one that executes the transition
by calling the doActionFor method on portal_workflow.
If you're interested in understanding how workflows work, I suggest you
take a look at the CPSWorkflow documentation:
http://www.cps-project.org/sections/documentation/developers/cpsworkflow/switchLanguage/en
If some things are not clear enough, do not hesitate to ask questions.
Regards,
anahide.
_______________________________________________
cps-users mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/cps-users