BizTalk Server General - HWS tracking

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2006 > HWS tracking





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 HWS tracking
Alexander Zverev

2006-01-23, 6: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


WenJun Zhang[msft]

2006-01-24, 7:50 am

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.

Alexander Zverev

2006-01-24, 7:50 am

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_EligibilityAction']/*[local-name()='ActionSection'
and namespace-uri()='']/*[local-name()='GlobalState' and
namespace-uri()='']/*[local-name()='TaskID' and namespace-uri()='']"). Which
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_EligibilityAction']/*[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.
>



WenJun Zhang[msft]

2006-01-25, 8:32 am

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.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com