BizTalk Server General - HWS Tasks

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2005 > HWS Tasks





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 Tasks
Alexandr Zverev

2005-08-03, 5:51 pm

Hi!

I have a situation in my hws process when I need to send one task to two
roles. Second task fires with some delay if first role does not respond in
time. How could I cancel task for first user?

I found that in some cases task became "Canceled" automaticaly. What is
condition for this?

Thanks in advance,
Alex


WenJun Zhang[msft]

2005-08-04, 2:47 am

Hi Alex,

When an instance completes all Tasks for that instance that do not
have a status of Completed, Deferred, Declined or Interrupted will be
marked as cancelled.

So you may retrieve the tasks of the first user and then call
SendTaskResponse to set its status as something like Declined. There
is sample code snippet in the SDK:

HwsService.SendTaskResponse Method
http://msdn.microsoft.com/library/d...ary/en-us/sdk/h
tm/ frlrfmicrosoftbiztalkhwssoapservicehwsse
rviceclasssendtaskresponset
opic.asp

Thanks.

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