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

Andreas Jung lists at zopyx.com
Mon Mar 9 15:25:15 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09.03.2009 15:34 Uhr, Wichert Akkerman wrote:
> 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)
> 

ouch..CMFCore has the base WorkflowTool implementation :->

Mea culpa,
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkm1NNsACgkQCJIWIbr9KYxGMACggz6fmzBcg0hSkID5Xp1EKibX
LWAAoM+qK/ZlfjIyB5PzL85GLbMxu0T3
=xpva
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090309/1fdbc92c/attachment.vcf>


More information about the Product-Developers mailing list