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 ]
|