dont work?
try this...when launch return the workitem is not in the store jet.


--------------------------------
String wsid = workSession.launch("mainEngine", li);

StringTokenizer tok=new StringTokenizer(wsid);

        //recupera wfid dalla stringa ritornata...
        for (int i = 0; i < 8; i++) {
            String tmp=tok.nextToken();
            if (i==7)
                wsid=tmp;
        }

 double max=10000;
        boolean ok=false;
        long startTime=System.currentTimeMillis();
        long endTime=System.currentTimeMillis()+ConfigUtil.MAX_WAITING_TIME;
        while(System.currentTimeMillis()<endTime)//busywaiting
        {   if(System.currentTimeMillis()>startTime+1000){
                startTime+=1000;
                if(workSession.findFlowInstance(store,wiId).size()!=0) {
                    ok=true;  break;}
            }

        }
if(ok)
     InFlowWorkItem wi = workSession.get("Store.bravo", wsid); //

------------------------------------



2007/5/17, Bartłomiej Jendyk <[EMAIL PROTECTED]>:
>
>
> hi andrea,
>
> unfortunately this won't work either. but thanks anyway.
>
> my point is first to check the status of particular store (say
> "Store.bravo"), and when it contains the workitem, fetch it into my
> client app.
>
> currently I have no idea how to do this,
>
> List l = workSession.findFlowInstance("Store.bravo", workflowInstanceId);



try to check for a workitemid from webclient and use directly the wfid.
a.e. if you see inflowitem 1123123123132 in Store.bravo

List l = workSession.findFlowInstance("Store.bravo","1123123123132");



returns empty list - but it shouldn't, as one or more workitems are
> visible from the web client in "Store.bravo". how should I do this?
> does it have something to do with processing headers from store?
>
> regards,
> bart
>
> >
>
hi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFE users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwfe-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to