BizTalk Server Tools - Getting Waiting Tasks for a Person

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > October 2004 > Getting Waiting Tasks for a Person





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Getting Waiting Tasks for a Person
zeynep

2004-10-15, 9:09 pm

Hello,
I have developed a simple HWS-MyWebService-Infopath integrated workflow
system. In this system, I have started a workflow by
AddActivationBlockToActivityFlow. After I did this, a guid is returned to me.
After this I want to take activity flow information by GetActivityFlowInfo
method. I call the method like this:

hwss.Credentials = new System.Net.NetworkCredential("user1", "passworD2",
System.Environment.MachineName);
hwss.GetActivityFlowInfo(activityFlowID, ActivityFlowDetailLevel.TaskLevel,
null);

After calling this method it throws an exception (for parameter
activityFlowID i tried the activity flow id retrieved from
hwss.GetNewActivityFlowID() and id returned from
AddActivationBlockToActivityFlow method):

Microsoft.BizTalk.Hws.SoapService.HwsServiceSoapException: Failed to
retrieve activity flow information from tracking.

"user1" is the target for the first task in the activity model. Do you have
any idea what is the problem? Or should I do something different to get the
waiting task for the user1?

Thanks,
Zeynep


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com