collective.contentrules.runscript (0.4)
- collective.contentrules.runscript download link: http://plone.org/products/collective.contentrules.runscript/releases
- Homepage of collective.contentrules.runscript: http://plone.org/products/collective.contentrules.runscript
- Description source: http://pypi.python.org/pypi/collective.contentrules.runscript
Content rules are a powerfull feature in Plone 3. But create a filesystem product for every single little action we'd like to perform seems a little overkill. To help those integrators and administrators out there, RunScript brings the ability to register a condition that once matched will perform whatever the action you state in a script configured in the Rule configuration form.
Just to meet a few use cases, the product brings a some sample scripts that might come in handy:
tag_after_parent
Adds the parent's title as a tag to the item (appends to the subject field).
others_might_come_in_the_future
You can give your suggestions.
One could easily write a new script that just needs to be traversable from the object that will trigger the condition.