Skip to main content

A Namespace Extension for ATXML

Project description

Introduction

This products adds the export of the object’s workflow state to the atxml marshaller. As it could be difficult to set the state on the target site, because there might be workflow transition-scripts which should NOT be executed, the import only fires an event. You can subscribe to it:

<subscriber
     for="*
         collective.marshall.workflow.interfaces.IObjectReviewStateDeserializedEvent"
    handler=".handlers.yourHandler"
    />

Example for handler

Example:

def logDeserializedReviewState(object, event):
    print "Received a IObjectReviewStateDeserializedEvent for %s. State: %s" % (event.object, event.data)

So the handler receives the object and the data, which is the state as string, e.g. “published”.

A very good default handler is already included.

Changelog

1.0.1 (2008-11-05)

  • Added utility to translate between workflow states

1.0 (2008-11-05)

  • First release

Project details


Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page