[Zope-CMF] DCWorkflow question ...

Lynn Walton waltonl@franklin.edu
Wed, 09 Jan 2002 13:44:22 -0600


Thanks for the quick reply.  I did take a look at Expression.py ... but
still had no luck with
<dtml-var sci/transition/getId >  or anything else I could think of trying
...  Just <dtml-var sci>  gave a key error too.
And I'm not understanding the deep zen of the DCWorkflow internals enough to
figure out what else I should be trying?

Lynn

Andrew Sawyers wrote:

> Lynn,
> Actually what is returned is an sci object (StateChangeInfo object) see
> Expression.py for more information.
> I believe you access it as:
> <dtml-var sci/transition/method>
> Hope this ponts you in the right direction.
> Andrew
>
> -----Original Message-----
> From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
> Of Lynn Walton
> Sent: Wednesday, January 09, 2002 1:44 PM
> To: CMF Mailing List
> Subject: [Zope-CMF] DCWorkflow question ...
>
> I'd like to have an email generated when someone submits a certain type
> of content object for review. I'm using an instance of DCWorkflow's
> classic workflow but am adding a script for the submit transition. The
> script  is a dtml method that just uses dtml-sendmail. My question is
> what information about the submitted object is available to me to access
> inside that dtml method, and how do I go about accessessing it?
>
> I tried   <dtml-var transaction/getId >   but got a key error.
>
> Thanks,
> Lynn
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests