You can subscribe to this list here.
| 2000 |
Jan
|
Feb
(9) |
Mar
(2) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
|
Feb
(1) |
Mar
(28) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
(27) |
Oct
(31) |
Nov
(7) |
Dec
(23) |
| 2002 |
Jan
(22) |
Feb
(29) |
Mar
(50) |
Apr
(1) |
May
|
Jun
(6) |
Jul
(3) |
Aug
(5) |
Sep
(27) |
Oct
(39) |
Nov
(27) |
Dec
(17) |
| 2003 |
Jan
(25) |
Feb
(33) |
Mar
(15) |
Apr
(38) |
May
(8) |
Jun
(17) |
Jul
(5) |
Aug
(3) |
Sep
(6) |
Oct
(11) |
Nov
(5) |
Dec
|
| 2004 |
Jan
(10) |
Feb
(6) |
Mar
(2) |
Apr
|
May
(7) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
(2) |
| 2005 |
Jan
|
Feb
(3) |
Mar
(5) |
Apr
|
May
(6) |
Jun
(12) |
Jul
|
Aug
(2) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(9) |
Jun
(5) |
Jul
(1) |
Aug
(16) |
Sep
(1) |
Oct
(6) |
Nov
(2) |
Dec
(2) |
| 2007 |
Jan
(17) |
Feb
(16) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
| 2009 |
Jan
(4) |
Feb
(3) |
Mar
(4) |
Apr
(7) |
May
(2) |
Jun
(11) |
Jul
(1) |
Aug
(15) |
Sep
(13) |
Oct
(27) |
Nov
(21) |
Dec
(10) |
| 2010 |
Jan
(7) |
Feb
(5) |
Mar
(13) |
Apr
(31) |
May
(37) |
Jun
(17) |
Jul
(22) |
Aug
(20) |
Sep
(22) |
Oct
(19) |
Nov
(18) |
Dec
(15) |
| 2011 |
Jan
(16) |
Feb
(12) |
Mar
(8) |
Apr
(3) |
May
(1) |
Jun
(5) |
Jul
(3) |
Aug
(7) |
Sep
(7) |
Oct
(7) |
Nov
(3) |
Dec
(4) |
| 2012 |
Jan
(3) |
Feb
(2) |
Mar
(2) |
Apr
(6) |
May
(6) |
Jun
(2) |
Jul
(4) |
Aug
(3) |
Sep
(2) |
Oct
(4) |
Nov
(8) |
Dec
(13) |
| 2013 |
Jan
(2) |
Feb
(5) |
Mar
(13) |
Apr
(6) |
May
(6) |
Jun
(3) |
Jul
(6) |
Aug
(7) |
Sep
(6) |
Oct
(3) |
Nov
|
Dec
(1) |
| 2014 |
Jan
|
Feb
(2) |
Mar
(6) |
Apr
(6) |
May
(5) |
Jun
(7) |
Jul
(4) |
Aug
(1) |
Sep
(2) |
Oct
(15) |
Nov
(8) |
Dec
(3) |
| 2015 |
Jan
(6) |
Feb
(2) |
Mar
(10) |
Apr
(2) |
May
(3) |
Jun
(1) |
Jul
(5) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(1) |
Dec
(1) |
| 2016 |
Jan
(2) |
Feb
|
Mar
(5) |
Apr
(6) |
May
(5) |
Jun
(5) |
Jul
|
Aug
|
Sep
(2) |
Oct
(3) |
Nov
(2) |
Dec
(6) |
| 2017 |
Jan
(2) |
Feb
(5) |
Mar
(3) |
Apr
|
May
(1) |
Jun
(3) |
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Marco B. <m.b...@ic...> - 2006-08-10 08:17:39
|
When you get this error? I suspect when you try to start a process,
because you are no more able to find the "Begin" activity.
Let's try again:
Here what you could do in the script
wf = container.GeneralWorkflow
results = wf.Catalog(meta_type='Activity')
for metadata in result:
if metadata.id != 'Begin' and metadata.id != 'End:
wf.manage_renameObject(metadata.id, metadata.id.lower())
However, please note that this will not be enough: you will have to rename *ALSO* the transitions From and To attributes:
wf = container.GeneralWorkflow
results = wf.Catalog(meta_type='Transition')
for metadata in result:
t = metadata.getObject()
From = t.From
To = t.To
if From not in ('Begin', 'End):
From = From.lower()
if To not in ('Begin', 'End'):
To = To.lower()
t.edit(t.condition, From, To, t.description)
Regards
Marco
Not sure if the attributes from and to are instead From and To
Sinang, Danny ha scritto:
> Tried it, but got this error :
>
> Error Type: AttributeError
> Error Value: Begin
>
> -----Original Message-----
> From: Marco Bizzarri [mailto:m.b...@ic...]
> Sent: Thursday, August 10, 2006 3:55 PM
> To: Sinang, Danny
> Cc: ope...@li...
> Subject: Re: [Openflow-dev] The id "s5/begin" contains characters
> illegal in URLs
>
> Ok, I got the original mail.
>
> Here what you could do in the script
>
> wf = container.GeneralWorkflow
>
> results = wf.Catalog(meta_type='Activity')
>
> for metadata in result:
> wf.manage_renameObject(metadata.id, metadata.id.lower())
>
> Please, check if this work. Also, can you restate your problem? I'm not
> sure I grabbed it.
>
> Regards
> Marco
>
> Sinang, Danny ha scritto:
>
>> Hello,
>>
>> The Zope mailing list guys can't figure this out, and referred me to
>> you.
>>
>> Hope someone here can help.
>>
>> Regards,
>> Danny
>>
>> -----Original Message-----
>> From: zop...@zo... [mailto:zop...@zo...] On Behalf
>> Of Sinang, Danny
>> Sent: Thursday, August 10, 2006 3:02 PM
>> To: zo...@zo...
>> Subject: RE: [Zope] The id "s5/begin" contains characters illegal in
>> URLs
>>
>>
>>
>>
>>> You must call manage_renameObject on the object *container*, passing
>>>
>>>
>> the old name and the new name. Something like this:
>>
>>
>>
>>> object = result[1]
>>> container = object.aq_parent
>>> container.manage_renameObject(object.id, object.id.lower())
>>>
>>>
>> Thanks Gabriel.
>>
>> I did exactly as you suggested, but ran into this error :
>>
>> /////////////////////////////////////////////////
>> The id "begin" is invalid - it is already in use.
>> /////////////////////////////////////////////////
>>
>> "Begin" is the first activity. It could be some reserved word within
>> OpenFlow or Zope - not really sure.
>>
>> In any case, I tried skipping it, but ran into another error message
>> saying :
>>
>> //////////////////////////////////////////////////////////////////////
>> / The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this
>> operation.
>> //////////////////////////////////////////////////////////////////////
>> /
>>
>> My code looks like this :
>>
>> //////////////////////////////////////////////////////////////////////
>> //
>> /
>>
>> wf = container.GeneralWorkflow
>> catalog = wf.Catalog
>>
>> results = catalog.ZopeFind(wf, obj_metatypes=['Activity'],
>> search_sub=1)
>>
>>
>> for result in results:
>> print result[1].id
>> if result[1].id <> 'Begin':
>> object = result[1]
>> container = object.aq_parent
>> container.manage_renameObject(object.id, object.id.lower())
>>
>> return printed
>>
>> //////////////////////////////////////////////////////////////////////
>> //
>> /
>>
>>
>> Regards,
>> Danny
>>
>> _______________________________________________
>> Zope maillist - Zo...@zo...
>> http://mail.zope.org/mailman/listinfo/zope
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://mail.zope.org/mailman/listinfo/zope-announce
>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>
>> ----------------------------------------------------------------------
>> --- Using Tomcat but need to do more? Need to support web services,
>> security?
>> Get stuff done quickly with pre-integrated technology to make your job
>>
>
>
>> easier Download IBM WebSphere Application Server v.1.0.1 based on
>> Apache Geronimo
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
>> 42 _______________________________________________
>> Openflow-dev mailing list
>> Ope...@li...
>> https://lists.sourceforge.net/lists/listinfo/openflow-dev
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Openflow-dev mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openflow-dev
>
|
|
From: Sinang, D. <D.S...@sp...> - 2006-08-10 07:59:14
|
Tried it, but got this error : Error Type: AttributeError Error Value: Begin -----Original Message----- From: Marco Bizzarri [mailto:m.b...@ic...]=20 Sent: Thursday, August 10, 2006 3:55 PM To: Sinang, Danny Cc: ope...@li... Subject: Re: [Openflow-dev] The id "s5/begin" contains characters illegal in URLs Ok, I got the original mail. Here what you could do in the script wf =3D container.GeneralWorkflow results =3D wf.Catalog(meta_type=3D'Activity') for metadata in result: wf.manage_renameObject(metadata.id, metadata.id.lower()) Please, check if this work. Also, can you restate your problem? I'm not sure I grabbed it. Regards Marco Sinang, Danny ha scritto: > Hello, > > The Zope mailing list guys can't figure this out, and referred me to=20 > you. > > Hope someone here can help. > > Regards, > Danny > > -----Original Message----- > From: zop...@zo... [mailto:zop...@zo...] On Behalf=20 > Of Sinang, Danny > Sent: Thursday, August 10, 2006 3:02 PM > To: zo...@zo... > Subject: RE: [Zope] The id "s5/begin" contains characters illegal in=20 > URLs > > > =20 >> You must call manage_renameObject on the object *container*, passing >> =20 > the old name and the new name. Something like this: > > =20 >> object =3D result[1] >> container =3D object.aq_parent >> container.manage_renameObject(object.id, object.id.lower()) >> =20 > > Thanks Gabriel. > > I did exactly as you suggested, but ran into this error : > > ///////////////////////////////////////////////// > The id "begin" is invalid - it is already in use. > ///////////////////////////////////////////////// > > "Begin" is the first activity. It could be some reserved word within=20 > OpenFlow or Zope - not really sure. > > In any case, I tried skipping it, but ran into another error message=20 > saying : > > ////////////////////////////////////////////////////////////////////// > / The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this=20 > operation. > ////////////////////////////////////////////////////////////////////// > / > > My code looks like this : > > ////////////////////////////////////////////////////////////////////// > // > / > > wf =3D container.GeneralWorkflow > catalog =3D wf.Catalog > > results =3D catalog.ZopeFind(wf, obj_metatypes=3D['Activity'],=20 > search_sub=3D1) > > > for result in results: > print result[1].id > if result[1].id <> 'Begin': > object =3D result[1] > container =3D object.aq_parent > container.manage_renameObject(object.id, object.id.lower()) > > return printed > > ////////////////////////////////////////////////////////////////////// > // > / > > > Regards, > Danny > > _______________________________________________ > Zope maillist - Zo...@zo... > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services,=20 > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 1216 > 42 _______________________________________________ > Openflow-dev mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openflow-dev > =20 |
|
From: Sinang, D. <D.S...@sp...> - 2006-08-10 07:55:49
|
Hi Marco,
I've defined a workflow called "GeneralWorkflow".
Inside "GeneralWorkflow", I've defined several Processes :
1. "S5"
2. "S100"
3. "S200"
4. "S300"=20
I needed to rename them to their lowercase counterparts, so I wrote the
following code which got it done :
///////////////////////////////////////////////////////
wf =3D container.GeneralWorkflow
catalog =3D wf.Catalog
processes =3D catalog.ZopeFind(wf, obj_metatypes=3D['Process'],
search_sub=3D1)
for p in processes:
wf.manage_renameObject(p[0], p[0].lower()) =20
///////////////////////////////////////////////////////
However, I also need to rename the activities inside these processes to
lowercase.
When I try to rename the activities found in those processes, I try to
do likewise, but the ZopeFind results come out like this :
('S100/Begin', <activity at /dev/danny/wms/GeneralWorkflow/S100/Begin>)
('S100/RECEIPT_OF_SOURCE_DOCUMENTS', <activity at
/dev/danny/wms/GeneralWorkflow/S100/RECEIPT_OF_SOURCE_DOCUMENTS>)
('S100/CHECK_MS_BATCHING', <activity at
/dev/danny/wms/GeneralWorkflow/S100/CHECK_MS_BATCHING>)
To call manage_renameObject (), I have to supply it with the object
name.
If I use result[0], I get the illegal characters in URL error.=20
And if I use result[1].id, I get :
Error Type: AttributeError
Error Value: Begin
This is probably because there is no "Begin" object under the "wf"
container from which I'm calling manage_renameObject().
So my question is, how do I refer to the "Begin" object found in the
S100 workflow ?
Regards,
Danny
-----Original Message-----
From: Marco Bizzarri [mailto:m.b...@ic...]=20
Sent: Thursday, August 10, 2006 3:50 PM
To: Sinang, Danny
Cc: ope...@li...
Subject: Re: [Openflow-dev] The id "s5/begin" contains characters
illegal in URLs
Sorry, Danny, can you describe a little more what are you trying to do?
Regards
Marco
Sinang, Danny ha scritto:
> Hello,
>
> The Zope mailing list guys can't figure this out, and referred me to=20
> you.
>
> Hope someone here can help.
>
> Regards,
> Danny
>
> -----Original Message-----
> From: zop...@zo... [mailto:zop...@zo...] On Behalf=20
> Of Sinang, Danny
> Sent: Thursday, August 10, 2006 3:02 PM
> To: zo...@zo...
> Subject: RE: [Zope] The id "s5/begin" contains characters illegal in=20
> URLs
>
>
> =20
>> You must call manage_renameObject on the object *container*, passing
>> =20
> the old name and the new name. Something like this:
>
> =20
>> object =3D result[1]
>> container =3D object.aq_parent
>> container.manage_renameObject(object.id, object.id.lower())
>> =20
>
> Thanks Gabriel.
>
> I did exactly as you suggested, but ran into this error :
>
> /////////////////////////////////////////////////
> The id "begin" is invalid - it is already in use.
> /////////////////////////////////////////////////
>
> "Begin" is the first activity. It could be some reserved word within=20
> OpenFlow or Zope - not really sure.
>
> In any case, I tried skipping it, but ran into another error message=20
> saying :
>
> //////////////////////////////////////////////////////////////////////
> / The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this=20
> operation.
> //////////////////////////////////////////////////////////////////////
> /
>
> My code looks like this :
>
> //////////////////////////////////////////////////////////////////////
> //
> /
>
> wf =3D container.GeneralWorkflow
> catalog =3D wf.Catalog
>
> results =3D catalog.ZopeFind(wf, obj_metatypes=3D['Activity'],=20
> search_sub=3D1)
>
>
> for result in results:
> print result[1].id
> if result[1].id <> 'Begin':
> object =3D result[1]
> container =3D object.aq_parent
> container.manage_renameObject(object.id, object.id.lower())
>
> return printed
>
> //////////////////////////////////////////////////////////////////////
> //
> /
>
>
> Regards,
> Danny
>
> _______________________________________________
> Zope maillist - Zo...@zo...
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
> ----------------------------------------------------------------------
> --- Using Tomcat but need to do more? Need to support web services,=20
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier Download IBM WebSphere Application Server v.1.0.1 based on=20
> Apache Geronimo
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
1216
> 42 _______________________________________________
> Openflow-dev mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openflow-dev
> =20
|
|
From: Marco B. <m.b...@ic...> - 2006-08-10 07:54:37
|
Ok, I got the original mail. Here what you could do in the script wf = container.GeneralWorkflow results = wf.Catalog(meta_type='Activity') for metadata in result: wf.manage_renameObject(metadata.id, metadata.id.lower()) Please, check if this work. Also, can you restate your problem? I'm not sure I grabbed it. Regards Marco Sinang, Danny ha scritto: > Hello, > > The Zope mailing list guys can't figure this out, and referred me to > you. > > Hope someone here can help. > > Regards, > Danny > > -----Original Message----- > From: zop...@zo... [mailto:zop...@zo...] On Behalf Of > Sinang, Danny > Sent: Thursday, August 10, 2006 3:02 PM > To: zo...@zo... > Subject: RE: [Zope] The id "s5/begin" contains characters illegal in > URLs > > > >> You must call manage_renameObject on the object *container*, passing >> > the old name and the new name. Something like this: > > >> object = result[1] >> container = object.aq_parent >> container.manage_renameObject(object.id, object.id.lower()) >> > > Thanks Gabriel. > > I did exactly as you suggested, but ran into this error : > > ///////////////////////////////////////////////// > The id "begin" is invalid - it is already in use. > ///////////////////////////////////////////////// > > "Begin" is the first activity. It could be some reserved word within > OpenFlow or Zope - not really sure. > > In any case, I tried skipping it, but ran into another error message > saying : > > /////////////////////////////////////////////////////////////////////// > The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation. > /////////////////////////////////////////////////////////////////////// > > My code looks like this : > > //////////////////////////////////////////////////////////////////////// > / > > wf = container.GeneralWorkflow > catalog = wf.Catalog > > results = catalog.ZopeFind(wf, obj_metatypes=['Activity'], search_sub=1) > > > for result in results: > print result[1].id > if result[1].id <> 'Begin': > object = result[1] > container = object.aq_parent > container.manage_renameObject(object.id, object.id.lower()) > > return printed > > //////////////////////////////////////////////////////////////////////// > / > > > Regards, > Danny > > _______________________________________________ > Zope maillist - Zo...@zo... > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Openflow-dev mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openflow-dev > |
|
From: Marco B. <m.b...@ic...> - 2006-08-10 07:50:37
|
Sorry, Danny, can you describe a little more what are you trying to do? Regards Marco Sinang, Danny ha scritto: > Hello, > > The Zope mailing list guys can't figure this out, and referred me to > you. > > Hope someone here can help. > > Regards, > Danny > > -----Original Message----- > From: zop...@zo... [mailto:zop...@zo...] On Behalf Of > Sinang, Danny > Sent: Thursday, August 10, 2006 3:02 PM > To: zo...@zo... > Subject: RE: [Zope] The id "s5/begin" contains characters illegal in > URLs > > > >> You must call manage_renameObject on the object *container*, passing >> > the old name and the new name. Something like this: > > >> object = result[1] >> container = object.aq_parent >> container.manage_renameObject(object.id, object.id.lower()) >> > > Thanks Gabriel. > > I did exactly as you suggested, but ran into this error : > > ///////////////////////////////////////////////// > The id "begin" is invalid - it is already in use. > ///////////////////////////////////////////////// > > "Begin" is the first activity. It could be some reserved word within > OpenFlow or Zope - not really sure. > > In any case, I tried skipping it, but ran into another error message > saying : > > /////////////////////////////////////////////////////////////////////// > The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation. > /////////////////////////////////////////////////////////////////////// > > My code looks like this : > > //////////////////////////////////////////////////////////////////////// > / > > wf = container.GeneralWorkflow > catalog = wf.Catalog > > results = catalog.ZopeFind(wf, obj_metatypes=['Activity'], search_sub=1) > > > for result in results: > print result[1].id > if result[1].id <> 'Begin': > object = result[1] > container = object.aq_parent > container.manage_renameObject(object.id, object.id.lower()) > > return printed > > //////////////////////////////////////////////////////////////////////// > / > > > Regards, > Danny > > _______________________________________________ > Zope maillist - Zo...@zo... > http://mail.zope.org/mailman/listinfo/zope > ** No cross posts or HTML encoding! ** > (Related lists - > http://mail.zope.org/mailman/listinfo/zope-announce > http://mail.zope.org/mailman/listinfo/zope-dev ) > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Openflow-dev mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openflow-dev > |
|
From: Sinang, D. <D.S...@sp...> - 2006-08-10 07:43:38
|
Hello,
The Zope mailing list guys can't figure this out, and referred me to
you.
Hope someone here can help.
Regards,
Danny=20
-----Original Message-----
From: zop...@zo... [mailto:zop...@zo...] On Behalf Of
Sinang, Danny
Sent: Thursday, August 10, 2006 3:02 PM
To: zo...@zo...
Subject: RE: [Zope] The id "s5/begin" contains characters illegal in
URLs
> You must call manage_renameObject on the object *container*, passing
the old name and the new name. Something like this:
> object =3D result[1]
> container =3D object.aq_parent
> container.manage_renameObject(object.id, object.id.lower())
Thanks Gabriel.
I did exactly as you suggested, but ran into this error :
/////////////////////////////////////////////////
The id "begin" is invalid - it is already in use.
/////////////////////////////////////////////////
"Begin" is the first activity. It could be some reserved word within
OpenFlow or Zope - not really sure.=20
In any case, I tried skipping it, but ran into another error message
saying :
///////////////////////////////////////////////////////////////////////
The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation.
///////////////////////////////////////////////////////////////////////
My code looks like this :
////////////////////////////////////////////////////////////////////////
/
wf =3D container.GeneralWorkflow
catalog =3D wf.Catalog
results =3D catalog.ZopeFind(wf, obj_metatypes=3D['Activity'], =
search_sub=3D1)
for result in results:
print result[1].id
if result[1].id <> 'Begin':
object =3D result[1]
container =3D object.aq_parent
container.manage_renameObject(object.id, object.id.lower())
return printed=20
////////////////////////////////////////////////////////////////////////
/
Regards,
Danny
_______________________________________________
Zope maillist - Zo...@zo...
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
|
|
From: Tit-Liviu L. <the...@ya...> - 2006-08-09 08:49:04
|
Hello everyone, I'm currently taking over the administration of a running instance of Zope and OpenFlow. These have been used to create a workflow for a decision making process. The users are authenticated via LDAP. The problem is, one of the workflow users got married and the username has been changed to reflect the new last name. Instances already in the workflow are assigned to the old username, and the person cannot log in to interact with them. I can assign the new username to the correct role, but what about the old instances? Is there an easy way of migrating the instances assigned to the old username to the new one, or maybe creating a local user with the old username? Any step-by-step suggestion is welcome, as I'm barely getting familiar with the admin interface and have virtually no experience with Python. Thanks in advance, Titel |
|
From: Sinang, D. <D.S...@sp...> - 2006-07-28 11:46:27
|
Hello, =20 How can I rename a Process ? =20 Regards, Danny =20 =20 |
|
From: Sinang, D. <D.S...@sp...> - 2006-06-27 02:29:44
|
Dear Daniele, I think we now need workitems to use properties as well.=20 1. Do I simply make it inherit from Folder (in addition to CatalogPathAware and SimpleItem) ? 2. Will modifying the code ruin my existing instance data ? 3. If I assign a 'jobname' property to an instance, how do I automatically assign these jobnames to the instance's workitems ? Regards, Danny =20 -----Original Message----- From: Daniele Tarini [mailto:d.t...@ic...]=20 Sent: Friday, April 28, 2006 4:44 PM To: Sinang, Danny Cc: ope...@li... Subject: Re: [Openflow-dev] Adding columns Correct. Figure out what goes in the workitem and what goes in the instance (ie:job), keeping in mind that workitems can (and do) aquire attributes from their containing instances (jobs): if an instance has an attribute "jobname", all its workitems will be able to access it. My only concern is that adding attributes during the object __init__ will make all your workitems and instances have those additional attributes, since the share the __init__ code. This is fine if you have just one process, but in case you have multiple processes you probably won't like sharing process A attributes with process B attributes on the same instance. Two approaches to tackle the issue are: 1) using properties to add values to your instances where needed. Using properties has a few nice effects: - you can add/change/remove properties from a PropertyManager object (like the instance) during runtime, as you see fit - a property is handled as a real attribute of the object - properties, as attributes, are correctly cataloged by the catalog - properties can be monitored through ZMI, accessing the 'Properties'=20 tab of the instance object. An instance, inheriting from Folder, is already PropertyManager. If you want a workitem to use properties as well (it never happened to me), you'll have to make it PropertyManager in the code. 2) the cvs version of OpenFlow can create instances through factories.=20 Each process has its own factory creating its own instance object. This way you can have process A create instances of kind A with their own attributes and methods, while process B creates instances of kind B with other attributes and methods. This is a bit advanced use of OpenFlow, and requires a good knowledge of the Zope/OpenFlow python code base. But it's very rewarding, flexible and efficient. Cheers, Daniele Sinang, Danny wrote: > Please disregard my previous question. What I really meant was ... > =20 > How do I make each workitem / job remember additional info ? > =20 > For example, aside from a title, id, comments, and actor, I also want=20 > to track the jobnumber and date due. > =20 > From what I see in the instance.py , it looks like I only need to add > parameters to the __init__ and addInstance methods, and add some lines > like : > =20 > self.jobname =3D jobname > self.dateDue =3D dateDue > =20 > Is this correct ? >=20 > ---------------------------------------------------------------------- > -- > *From:* ope...@li... > [mailto:ope...@li...] *On Behalf Of=20 > *Sinang, Danny > *Sent:* Friday, April 28, 2006 10:49 AM > *To:* ope...@li... > *Subject:* [Openflow-dev] Adding columns >=20 > Dear All, > =20 > I'd like to add columns to my OpenFlow Catalog. > =20 > Do I need to edit /ZOPE/Products/OpenFlow/openflow.py or can I just=20 > add them via the Metadata page on the ZMI ? > =20 > - Danny > =20 > =20 -- Ing. Daniele Tarini - Research & Development - Icube S.r.l. Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy E-mail: d.t...@ic... Web: http://www.icube.it Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588 |
|
From: Almen, M. T. <M....@sp...> - 2006-06-21 03:43:37
|
Hi,
=20
We want to allow our team leaders to move workitems to other
process/ activities. To do so we're thinking of falling out/ falling in
the said workitems. We tried it and it works, however we can't see any
trace of which team leader did the fallout and fallin (atleast from the
instance history page).
=20
We could activate the said work activity using the team leaders
account. Thereby stamping it with his username. We're just wondering if
there's a better way. Do let us know if there is.
=20
Thanks,
=20
Mark Almen=20
Senior Software Engineer=20
Publishing=20
SPi=20
T: 632 855 9466 =20
E: <mailto:m....@sp...> m....@sp...
<http://www.spi-bpo.com/> www.spi-bpo.com
The contents of this e-mail message may be privileged and confidential.
Therefore, if this message has been received in error, please delete it
without reading it. Your receipt of this message is not intended to
waive any applicable privilege. Please do not disseminate this message
without the permission of the author.=20
=20
|
|
From: Marco B. <mar...@gm...> - 2006-06-08 11:56:02
|
Hi Danny. Even though Zope/OpenFlow will not slow down, it will certainly grow its storage more and more, make it more difficult to manage. The simplest way is to erase the instances in a batch, using probably an export. I'm not sure if xml export works, but zexp does. We've done for a project of us (PAFlow) where we routinely drop old instances. You can find some example of code in the module InstanceManager.py which I'm including. This is part of PAFlow, which you can find at: www.paflow.it trac.icube.it/trac/PAFlow sorry, both are in italian. On 6/8/06, Sinang, Danny <D.S...@sp...> wrote: > > > Hello again, > > I think what I really meant was, as we create more processes and workitems, > will Zope / OpenFlow slow down (because before we assign a job, we ascertain > it's priority and role first) ? > > If so, how do we archive finished tasks / workitems ? > > And how do we bring them back in case someone needs to audit them ? > > Regards, > Danny > > ________________________________ > From: ope...@li... > [mailto:ope...@li...] On > Behalf Of Sinang, Danny > Sent: Wednesday, June 07, 2006 1:51 PM > To: ope...@li... > Subject: [Openflow-dev] Archiving openflow catalog contents > > > > Hello, > > As we move more work via OpenFlow, the catalog is surely going to grow. > > 1. Will the OpenFlow / Zope server slow down as the catalog grows ? > 2. If so, how do we archive already-finished processes to make the server > run faster ? > > Regards, > Danny > > > _______________________________________________ > Openflow-dev mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openflow-dev > > > -- Marco Bizzarri http://notenotturne.blogspot.com/ |
|
From: Sinang, D. <D.S...@sp...> - 2006-06-08 11:44:26
|
Hello again, =20 I think what I really meant was, as we create more processes and workitems, will Zope / OpenFlow slow down (because before we assign a job, we ascertain it's priority and role first) ? =20 If so, how do we archive finished tasks / workitems ? =20 And how do we bring them back in case someone needs to audit them ? =20 Regards, Danny ________________________________ From: ope...@li... [mailto:ope...@li...] On Behalf Of Sinang, Danny Sent: Wednesday, June 07, 2006 1:51 PM To: ope...@li... Subject: [Openflow-dev] Archiving openflow catalog contents Hello, =20 As we move more work via OpenFlow, the catalog is surely going to grow. =20 1. Will the OpenFlow / Zope server slow down as the catalog grows ? 2. If so, how do we archive already-finished processes to make the server run faster ? =20 Regards, Danny |
|
From: Sinang, D. <D.S...@sp...> - 2006-06-07 05:51:38
|
Hello, =20 As we move more work via OpenFlow, the catalog is surely going to grow. =20 1. Will the OpenFlow / Zope server slow down as the catalog grows ? 2. If so, how do we archive already-finished processes to make the server run faster ? =20 Regards, Danny |
|
From: Marco B. <m.b...@ic...> - 2006-05-22 15:47:15
|
Documentation is out of date: automatic application are passed 3 parameters, namely: instance_id workitem_id openflow_id you can find the two others once you access the workitem. Regards Marco Sinang, Danny wrote: > Hello, > > We use OpenFlow 1.1 . > > In http://www.openflow.it/Documentation/documentation/APIUsageTips , > it says applications are passed 5 parameters, namely : > > 1. openflow_id > 2. process_id > 3. activity_id > 4. instance_id > 5. workitem_id > > However, we seem to be able to get only 3 parameters (process_id, > instance_id, and workitem_id) in our application. > > Our application is a Python script with only 1 keyword param called **kw . > > We're able to do > > *i_id = kw['instance_id'] > w_id = kw['workitem_id']* > > But when we do > > *a_id = kw['activity_id']* > > we get an error message saying : > > *KeyError : 'activity_id'* > > And when we print the contents of kw , we only see the 3 parameters > mentioned above. > > Regards, > > *Danny Sinang* > Systems Improvement Manager > Publishing > SPi > > T: 632 855 9469 > M: 63 918 9178020 > E: d.s...@sp... <mailto:ed....@sp...> > www.spi-bpo.com <http://www.spi-bpo.com/> > > The contents of this e-mail message may be privileged and onfidential. > Therefore, if this message has been received in error, please delete > it without reading it. Your receipt of this message is not intended to > waive any applicable privilege. Please do not disseminate this message > without the permission of the author. > > |
|
From: Sinang, D. <D.S...@sp...> - 2006-05-22 10:33:37
|
Hello, =20 We use OpenFlow 1.1 . =20 In http://www.openflow.it/Documentation/documentation/APIUsageTips , it says applications are passed 5 parameters, namely : =20 1. openflow_id 2. process_id 3. activity_id 4. instance_id 5. workitem_id =20 However, we seem to be able to get only 3 parameters (process_id, instance_id, and workitem_id) in our application. =20 Our application is a Python script with only 1 keyword param called **kw . =20 We're able to do=20 =20 i_id =3D kw['instance_id'] w_id =3D kw['workitem_id'] =20 But when we do=20 =20 a_id =3D kw['activity_id'] =20 we get an error message saying : =20 KeyError : 'activity_id' =20 And when we print the contents of kw , we only see the 3 parameters mentioned above. =20 Regards, =20 Danny Sinang Systems Improvement Manager Publishing SPi=20 T: 632 855 9469 M: 63 918 9178020 E: d.s...@sp... <mailto:ed....@sp...> =20 www.spi-bpo.com <http://www.spi-bpo.com/>=20 The contents of this e-mail message may be privileged and onfidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. =20 |
|
From: Sinang, D. <D.S...@sp...> - 2006-05-11 10:36:53
|
Please disregard.=20 =20 Found the answer in http://www.openflow.it/Documentation/documentation/APIUsageTips . ________________________________ From: ope...@li... [mailto:ope...@li...] On Behalf Of Sinang, Danny Sent: Thursday, May 11, 2006 6:33 PM To: ope...@li... Subject: [Openflow-dev] Passing instance_id, workitem_id, and other OpenFlow info to Applications Hello, =20 We've recently add an Application definition to one of our Activities. =20 The Application (called "DISTILLER") will call a local Python script called pyDistiller. =20 pyDistiller will then invoke a URL to invoke a remote application (called "DISTILLER-REMOTE"). =20 Question is, how do I pass the current Activity's instance_id, workitem_id, actor, etc... to DISTILLER-REMOTE ? =20 Regards, =20 Danny Sinang Systems Improvement Manager Publishing SPi=20 T: 632 855 9469 M: 63 918 9178020 E: d.s...@sp... <mailto:ed....@sp...> =20 www.spi-bpo.com <http://www.spi-bpo.com/>=20 The contents of this e-mail message may be privileged and onfidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. =20 |
|
From: Yuri <yu...@al...> - 2006-05-11 10:36:13
|
Sinang, Danny wrote: > Hello, > > We've recently add an Application definition to one of our Activities. > > The Application (called "DISTILLER") will call a local Python script > called pyDistiller. > > pyDistiller will then invoke a URL to invoke a remote application > (called "DISTILLER-REMOTE"). > > Question is, how do I pass the current Activity's instance_id, > workitem_id, actor, etc... to DISTILLER-REMOTE ? your_application?instance_id=XXXXX&workitem_id=X |
|
From: Sinang, D. <D.S...@sp...> - 2006-05-11 10:33:27
|
Hello, =20 We've recently add an Application definition to one of our Activities. =20 The Application (called "DISTILLER") will call a local Python script called pyDistiller. =20 pyDistiller will then invoke a URL to invoke a remote application (called "DISTILLER-REMOTE"). =20 Question is, how do I pass the current Activity's instance_id, workitem_id, actor, etc... to DISTILLER-REMOTE ? =20 Regards, =20 Danny Sinang Systems Improvement Manager Publishing SPi=20 T: 632 855 9469 M: 63 918 9178020 E: d.s...@sp... <mailto:ed....@sp...> =20 www.spi-bpo.com <http://www.spi-bpo.com/>=20 The contents of this e-mail message may be privileged and onfidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author. =20 |
|
From: Sinang, D. <D.S...@sp...> - 2006-05-09 08:49:31
|
We're using Zope v2.7.6-final and Plone 2.0.5 .
=20
-----Original Message-----
From: Marco Bizzarri [mailto:m.b...@ic...]=20
Sent: Tuesday, May 09, 2006 3:39 PM
To: Sinang, Danny
Cc: ope...@li...
Subject: Re: [Openflow-dev] activateWorkitems () - having trouble
finding active workitems for a given actor
What release of Zope/Python are you using?
Regards
Marco
Sinang, Danny ha scritto:
>
> Hello,
>
> We're able to successfully Activate and Inactivate workitems via the=20
> OpenFlow's ZMI pages (
> wms/GeneralWorkFlow/ProcessInstances/ABC12345147081516.99 ).
>
> We then tried creating our own activateWorkitem python script in=20
> wms/Openflow/activateWorkitem. It looks like this :
>
> wf =3D container.GeneralWorkflow
> wf.activateWorkitem(instance_id, str(workitem_id), 'mark')
>
> This script is called from a TAL webpage we created.
>
> Although our activateWorkitem script is able to activate the workitem,
> we have problems searching for the active workitem (for a particular
> actor) from the catalog.
>
> The catalog search looks like this :
>
> wf =3D context.GeneralWorkflow
> cat =3D wf.Catalog
> wisActive =3D
> cat.searchResults({'meta_type':'Workitem','status':'active',
> 'actor':'mark'})
>
> We don't get any results from the catalog search at all.
>
> But if we remove the 'actor':'mark' search criteria, we get a list of=20
> all active workitems. And if we loop through the results, we're able=20
> to print their actors (which come out as 'mark').
>
> We've been at this the entire day and couldn't figure it out. Hope=20
> someone there could help us.
>
> Regards,
> Danny
>
|
|
From: Marco B. <m.b...@ic...> - 2006-05-09 07:39:16
|
What release of Zope/Python are you using?
Regards
Marco
Sinang, Danny ha scritto:
>
> Hello,
>
> We're able to successfully Activate and Inactivate workitems via the
> OpenFlow's ZMI pages (
> wms/GeneralWorkFlow/ProcessInstances/ABC12345147081516.99 ).
>
> We then tried creating our own activateWorkitem python script in
> wms/Openflow/activateWorkitem. It looks like this :
>
> wf = container.GeneralWorkflow
> wf.activateWorkitem(instance_id, str(workitem_id), 'mark')
>
> This script is called from a TAL webpage we created.
>
> Although our activateWorkitem script is able to activate the workitem,
> we have problems searching for the active workitem (for a particular
> actor) from the catalog.
>
> The catalog search looks like this :
>
> wf = context.GeneralWorkflow
> cat = wf.Catalog
> wisActive =
> cat.searchResults({'meta_type':'Workitem','status':'active',
> 'actor':'mark'})
>
> We don't get any results from the catalog search at all.
>
> But if we remove the 'actor':'mark' search criteria, we get a list of
> all active workitems. And if we loop through the results, we're able
> to print their actors (which come out as 'mark').
>
> We've been at this the entire day and couldn't figure it out. Hope
> someone there could help us.
>
> Regards,
> Danny
>
|
|
From: Sinang, D. <D.S...@sp...> - 2006-05-09 01:24:29
|
Hello,
We're able to successfully Activate and Inactivate workitems via the
OpenFlow's ZMI pages (
wms/GeneralWorkFlow/ProcessInstances/ABC12345147081516.99 ).
We then tried creating our own activateWorkitem python script in
wms/Openflow/activateWorkitem. It looks like this :
wf =3D container.GeneralWorkflow
wf.activateWorkitem(instance_id, str(workitem_id), 'mark')
This script is called from a TAL webpage we created.
Although our activateWorkitem script is able to activate the workitem,
we have problems searching for the active workitem (for a particular
actor) from the catalog.
The catalog search looks like this :
wf =3D context.GeneralWorkflow
cat =3D wf.Catalog
wisActive =3D =
cat.searchResults({'meta_type':'Workitem','status':'active',
'actor':'mark'})
We don't get any results from the catalog search at all.
But if we remove the 'actor':'mark' search criteria, we get a list of
all active workitems. And if we loop through the results, we're able to
print their actors (which come out as 'mark').
We've been at this the entire day and couldn't figure it out. Hope
someone there could help us.=20
Regards,
Danny
|
|
From: Sinang, D. <D.S...@sp...> - 2006-05-08 23:58:23
|
Hello,
=20
I was able to add a "jobname" property to instances as one is created as
follows :
=20
wf =3D context.GeneralWorkflow
=20
instance_id =3D wf.addInstance( process_id=3Dprocess, =
customer=3Djobname,
comments=3Dcomment, title=3Dsubject, activation=3D1)
=20
wf.getInstance(instance_id).manage_addProperty('jobname', jobname,
'string')
wf.Catalog.manage_reindexIndex (ids=3D['jobname'], REQUEST=3DNone,
RESPONSE=3DNone, URL1=3DNone)
=20
No problem getting jobnames of active workitems.
=20
However, I can't get the jobnames of inactive workitems. I get "Missing
value" whenever I do this :
=20
wf =3D context.GeneralWorkflow
cat =3D wf.Catalog
wisInactive =3D cat.searchResults({'meta_type':'Workitem',
'status':'inactive'})
=20
jobnames =3D [each.jobname for each in wisInactive]
return jobnames
Any idea on what we're doing wrong ?
=20
Regards,
Danny
=20
=20
|
|
From: Sinang, D. <D.S...@sp...> - 2006-04-28 16:23:43
|
Thanks for the detailed explanation Daniele.
I was supposed to ask a whole bunch of questions on how to
programmatically add properties, but the Zope Book answered them all.=20
My instance-creation code now looks like this :
wf =3D context.mywf
=20
instance_id =3D wf.addInstance( process_id=3D'mypr',
customer=3D'myCustomer-4', comments=3D'myComments', title=3D'myTitle',
activation=3D1)
wf.getInstance(instance_id).manage_addProperty('jobname', 'ABC12345',
'string')
This is coming out to be really cool !!! :)
-----Original Message-----
From: Daniele Tarini [mailto:d.t...@ic...]
Sent: Friday, April 28, 2006 4:44 PM
To: Sinang, Danny
Cc: ope...@li...
Subject: Re: [Openflow-dev] Adding columns
Correct.
Figure out what goes in the workitem and what goes in the instance
(ie:job), keeping in mind that workitems can (and do) aquire attributes
from their containing instances (jobs): if an instance has an attribute
"jobname", all its workitems will be able to access it.
My only concern is that adding attributes during the object __init__
will make all your workitems and instances have those additional
attributes, since the share the __init__ code. This is fine if you have
just one process, but in case you have multiple processes you probably
won't like sharing process A attributes with process B attributes on the
same instance.
Two approaches to tackle the issue are:
1) using properties to add values to your instances where needed. Using
properties has a few nice effects:
- you can add/change/remove properties from a PropertyManager object
(like the instance) during runtime, as you see fit
- a property is handled as a real attribute of the object
- properties, as attributes, are correctly cataloged by the catalog
- properties can be monitored through ZMI, accessing the 'Properties'
tab of the instance object.
An instance, inheriting from Folder, is already PropertyManager. If you
want a workitem to use properties as well (it never happened to me),
you'll have to make it PropertyManager in the code.
2) the cvs version of OpenFlow can create instances through factories.
Each process has its own factory creating its own instance object. This
way you can have process A create instances of kind A with their own
attributes and methods, while process B creates instances of kind B with
other attributes and methods. This is a bit advanced use of OpenFlow,
and requires a good knowledge of the Zope/OpenFlow python code base. But
it's very rewarding, flexible and efficient.
Cheers,
Daniele
Sinang, Danny wrote:
> Please disregard my previous question. What I really meant was ...
>=20
> How do I make each workitem / job remember additional info ?
>=20
> For example, aside from a title, id, comments, and actor, I also want
> to track the jobnumber and date due.
>=20
> From what I see in the instance.py , it looks like I only need to add
> parameters to the __init__ and addInstance methods, and add some lines
> like :
>=20
> self.jobname =3D jobname
> self.dateDue =3D dateDue
>=20
> Is this correct ?
>
> ----------------------------------------------------------------------
> --
> *From:* ope...@li...
> [mailto:ope...@li...] *On Behalf Of
> *Sinang, Danny
> *Sent:* Friday, April 28, 2006 10:49 AM
> *To:* ope...@li...
> *Subject:* [Openflow-dev] Adding columns
>
> Dear All,
>=20
> I'd like to add columns to my OpenFlow Catalog.
>=20
> Do I need to edit /ZOPE/Products/OpenFlow/openflow.py or can I just
> add them via the Metadata page on the ZMI ?
>=20
> - Danny
>=20
>=20
--
Ing. Daniele Tarini - Research & Development - Icube S.r.l.
Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy
E-mail: d.t...@ic... Web: http://www.icube.it
Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588
|
|
From: Daniele T. <d.t...@ic...> - 2006-04-28 08:40:34
|
Correct. Figure out what goes in the workitem and what goes in the instance (ie:job), keeping in mind that workitems can (and do) aquire attributes from their containing instances (jobs): if an instance has an attribute "jobname", all its workitems will be able to access it. My only concern is that adding attributes during the object __init__ will make all your workitems and instances have those additional attributes, since the share the __init__ code. This is fine if you have just one process, but in case you have multiple processes you probably won't like sharing process A attributes with process B attributes on the same instance. Two approaches to tackle the issue are: 1) using properties to add values to your instances where needed. Using properties has a few nice effects: - you can add/change/remove properties from a PropertyManager object (like the instance) during runtime, as you see fit - a property is handled as a real attribute of the object - properties, as attributes, are correctly cataloged by the catalog - properties can be monitored through ZMI, accessing the 'Properties' tab of the instance object. An instance, inheriting from Folder, is already PropertyManager. If you want a workitem to use properties as well (it never happened to me), you'll have to make it PropertyManager in the code. 2) the cvs version of OpenFlow can create instances through factories. Each process has its own factory creating its own instance object. This way you can have process A create instances of kind A with their own attributes and methods, while process B creates instances of kind B with other attributes and methods. This is a bit advanced use of OpenFlow, and requires a good knowledge of the Zope/OpenFlow python code base. But it's very rewarding, flexible and efficient. Cheers, Daniele Sinang, Danny wrote: > Please disregard my previous question. What I really meant was ... > > How do I make each workitem / job remember additional info ? > > For example, aside from a title, id, comments, and actor, I also want to > track the jobnumber and date due. > > From what I see in the instance.py , it looks like I only need to add > parameters to the __init__ and addInstance methods, and add some lines > like : > > self.jobname = jobname > self.dateDue = dateDue > > Is this correct ? > > ------------------------------------------------------------------------ > *From:* ope...@li... > [mailto:ope...@li...] *On Behalf Of *Sinang, > Danny > *Sent:* Friday, April 28, 2006 10:49 AM > *To:* ope...@li... > *Subject:* [Openflow-dev] Adding columns > > Dear All, > > I'd like to add columns to my OpenFlow Catalog. > > Do I need to edit /ZOPE/Products/OpenFlow/openflow.py or can I just add > them via the Metadata page on the ZMI ? > > - Danny > > -- Ing. Daniele Tarini - Research & Development - Icube S.r.l. Address: Via Ridolfi 15 - 56124 Pisa (PI), Italy E-mail: d.t...@ic... Web: http://www.icube.it Phone: (+39) 050 97 02 07 Fax: (+39) 050 31 36 588 |
|
From: Sinang, D. <D.S...@sp...> - 2006-04-28 03:34:53
|
Please disregard my previous question. What I really meant was ... =20 How do I make each workitem / job remember additional info ?=20 =20 For example, aside from a title, id, comments, and actor, I also want to track the jobnumber and date due. =20 From what I see in the instance.py , it looks like I only need to add parameters to the __init__ and addInstance methods, and add some lines like : =20 self.jobname =3D jobname self.dateDue =3D dateDue =20 Is this correct ? ________________________________ From: ope...@li... [mailto:ope...@li...] On Behalf Of Sinang, Danny Sent: Friday, April 28, 2006 10:49 AM To: ope...@li... Subject: [Openflow-dev] Adding columns Dear All, =20 I'd like to add columns to my OpenFlow Catalog. =20 Do I need to edit /ZOPE/Products/OpenFlow/openflow.py or can I just add them via the Metadata page on the ZMI ? =20 - Danny =20 =20 |