HWS tracking
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > HWS tracking




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HWS tracking  
Alexander Zverev


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-23-06 11:02 PM

Hi!

I have set of hws actions and set of task they create and send.
Most of that tasks are ok, but one particular task did not tracked in hws
databases. I monitor all process with HAT and look directly in BizTalk
databases. BizTalk actually send this message, I could receive it and it
also tracked in message box database, but hws subsystem didn't track the
message and hws tasks database is empty.
How this could be? What I must look for?

Thanks,
Alex







[ Post a follow-up to this message ]



    RE: HWS tracking  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 12:50 PM

Hi Alex,

Do you confirm a unique taskId has been assigned to the task? Would you be
able to retrieve the exact task instance in code?

HWS.ActivityFlow flow = _HwsService.GetActivityFlowInfo(flowId, HWS
.ActivityFlowDetailLevel.TaskLevel, null);

HWS.Task desiredTask = null;
foreach( HWS.ActionInstance rootActionInstance in flow.RootActionInstances )
{
foreach( HWS.Task task in rootActionInstance.Tasks )
{
if( task.Target == "REDMOND\\cwhytock" )
{
desiredTask = task;
}
}
}

You can also set break points in HAT to live debug the action orechstration
and see which happens when biztalk sending out the task message.

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.






[ Post a follow-up to this message ]



    Re: HWS tracking  
Alexander Zverev


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-24-06 12:50 PM

Hi!

I found the problem.
I have a node inside ActionSpecific node named <TaskID>
(XPath is "/*[local-name()='HwsMessage' and
namespace-uri()='http://www.rgl.net/HPODWorkflow/v330/Eligibility/Hws_Task_E
ligibilityAction']/*[local-name()='ActionSection'
and namespace-uri()='']/*[local-name()='GlobalState' and
namespace-uri()='']/*[local-name()='TaskID' and namespace-uri()='']"). W
hich
I use for my internal tasks correlation. It refer to previously created
task.
It seems that hws subsystem use this node instead of
"/*[local-name()='HwsMessage' and
namespace-uri()='http://www.rgl.net/HPODWorkflow/v330/Eligibility/Hws_Task_E
ligibilityAction']/*[local-name()='HwsSection'
and namespace-uri()='']/*[local-name()='TaskID' and namespace-uri()='']"
.

Alex

""WenJun Zhang[msft]"" <wjzhang@online.microsoft.com> wrote in message
news:W9Ed6aMIGHA.3680@TK2MSFTNGXA02.phx.gbl...
> Hi Alex,
>
> Do you confirm a unique taskId has been assigned to the task? Would you be
> able to retrieve the exact task instance in code?
>
> HWS.ActivityFlow flow = _HwsService.GetActivityFlowInfo(flowId, HWS
> ActivityFlowDetailLevel.TaskLevel, null);
>
> HWS.Task desiredTask = null;
> foreach( HWS.ActionInstance rootActionInstance in
> flow.RootActionInstances )
> {
>  foreach( HWS.Task task in rootActionInstance.Tasks )
>  {
>    if( task.Target == "REDMOND\\cwhytock" )
>    {
>      desiredTask = task;
>    }
>  }
> }
>
> You can also set break points in HAT to live debug the action
> orechstration
> and see which happens when biztalk sending out the task message.
>
> Best regards,
>
> WenJun Zhang
> Microsoft Online Partner Support
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>







[ Post a follow-up to this message ]



    Re: HWS tracking  
WenJun Zhang[msft]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-06 01:32 PM

Alex,

Glad to hear you've figured out the problem. Have a nice day!

Best regards,

WenJun Zhang
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:07 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register