|
From: Almen, M. T. <M....@sp...> - 2007-01-31 13:54:19
|
Yeah, what I just need here is to check if an activity has a pushing = application so that It will not be included in my pull down menu. -----Original Message----- From: Marco Bizzarri [mailto:mar...@gm...]=20 Sent: Wednesday, January 31, 2007 9:44 PM To: Almen, Mark Tomas Cc: Marco Bizzarri; ope...@li... Subject: Re: [Openflow-dev] Checking if activity has application On 1/31/07, Almen, Mark Tomas <M....@sp...> wrote: > > > Got it Marco it looks like this: > processes =3D getattr(wf, 'Processes') > production =3D getattr(processes, 'production') > activity =3D getattr(production, 'query_to_pdf') > app =3D activity.application > > return activity.push_application > > Thanks. > Beware! the push_application is the application which is used to push the = workitem to the user, not the application which is returned by = getApplicationUrl. Regards Marco --=20 Marco Bizzarri http://iliveinpisa.blogspot.com/ --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: = 1/30/2007 11:30 PM =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.17.17/661 - Release Date: = 1/30/2007 11:30 PM =20 |