From: Tim U. <ti...@di...> - 2004-01-03 00:14:40
|
> >1 - extract from the workflow Instance the workitem related to task >(activity) >using the activity id attribute (or you can query the catalog with >appropriate index: meta_type='Workitem', instance_id, process_id, >acitivity_id) and so call the push method. This work only if you have one >workitem for one activity. I don't think I can be guaranteed that there is only workitem can I? >2 - Create a 'push' application (see dev manual: www.reflab.it/community). >Store the user in a property, and use the 'push' app to assign the workitem. I create the instance like this. oftool = container.portal_openflow instance_id = oftool.addInstance(process_id= container.pd_name , customer=user, comments="New Driver", title="", activation=0) How do I get the workitem ID so I can push it? Or maybe you are saying I don't need the workitem ID if I store the user as a property of the workflow... Is that right? :wq Tim Uckun US Investigations Services/Due Diligence http://www.diligence.com/ |