|
From: Daniele <d.t...@ic...> - 2003-02-18 16:44:33
|
The autopushing application should be figuring out an actor to be the
assignee of the workitem. Like you pointed out it would be useful for the
assigner application to have some data to work on. I'll be passing the same
args automatic applications get (instance_id, workitem_id and openflow_id).
You'll find these changes in the cvs (just committed).
Daniele =)
On Tuesday 18 February 2003 16:54, 潘俊勇\(panjunyong\) wrote:
> Hi OpenFlowers,
>
> I found the following line in openflow.py::
>
> security.declarePrivate('callAutoPush')
> def callAutoPush(self, instance_id, workitem_id, REQUEST=None):
> instance, workitem, process, activity =
> self.getEnvironment(instance_id, workitem_id)
> application_id = activity.push_application
> if application_id != "" and
> self._applications[application_id]['url']:
> application_url = self._applications[application_id]['url']
> func = self.restrictedTraverse(application_url)
> actor = apply(func,(), {})
> self.assignWorkitem(instance_id, workitem_id, actor)
>
> It seems nothing is passed to the AutoPush Applicaiton! I think it is a
> bug. Am I right?
>
> Waiting for you response.
>
> panjunyong
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Openflow-dev mailing list
> Ope...@li...
> https://lists.sourceforge.net/lists/listinfo/openflow-dev
--
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
|