[Product-Developers] Determining the workflow ID for a given content-type

Wichert Akkerman wichert at wiggy.net
Mon Mar 9 14:34:35 UTC 2009


Previously Andreas Jung wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 09.03.2009 15:01 Uhr, Wichert Akkerman wrote:
> > Previously Andreas Jung wrote:
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> Hi there,
> >>
> >> is there a way to determine the workflow id(s) associated with an
> >> instance of a content-type? Background: with placework workflows each
> >> instance of a content-type may have a different workflow..what is the
> >> way to figure out the related workflow id(s)?
> > 
> > You ask the workflow tool?
> >
> 
> I don't see a related method.

portal_workflow.getWorkflowsFor(obj)

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.




More information about the Product-Developers mailing list