Hello,
I have requirement that users want to know the flow is waiting in which activity and who is taking the responsibility for now
my application uses ASP.NET as front end so I write the code like this after Execution the Action
oWI.Actionssaction].Execute(); //oWI is WorklistItem
//connect workflowServer to workflow management server
workflowServer.GetWorklistItems("", workflowName, "", "", folio, "", "");
//where workflowServer is SourceCode.Workflow.Management.WorkflowManagementServer
then I get information what is current activity and current destination user from worklistitem information after Action has been done
It seems fine when I test but there is a problem when I deploy to QA server, The result does not come as expected, the sever cannot find the process (it returns 0 item) I want to get via GetWorklistItems and I just know later that it takes a long period to return items after i called it serveral times (I have to wait like a minute or 2) (but destination user see their task immediately after action is done)
So my question is, Is there any ways to get the information immediately? I write the code when submit button is clicked, so I cannot wait for 1 or 2 mins to submit form just for update workflow status
thanks for any suggestions and sorry for my bad language...