Biztalk.04.HWS: The purpose of HWS tracking data.
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 Tools > Biztalk.04.HWS: The purpose of HWS tracking data.




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

    Biztalk.04.HWS: The purpose of HWS tracking data.  
Muhammad Omer [Xavor]


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


 
07-27-04 12:53 PM

I noticed that whenever a Biztalk 2004 action sends out a task message, the
message is tracked in the database. I am planning an application where users
are to view tasks assigned to them through an inbox like interface. I
decided on using the hwsservice.GetAllTasksForUser method to retreive tasks
for a particualr user. I am trying to determine if this is the best approach
and I have a few questions regarding that:
1. Is this interface intended for such an application or is it intended for
administrative applications wishing to view  tasks from an admin
perspective.
2. I notice that the tasks in this list are never removed. i.e. Even if a
user has responded to a task and the task's action has completed, the task
will still lie there.
3. I have to send out the task message out a port for it to be added to the
tracked task messages. Is there some way this can be done without going
through the hassle of having to make a port and send all tasks thru that ?

I'm in a bit of a jam and would appreciate an early reply.
Omer








[ Post a follow-up to this message ]



    RE: Biztalk.04.HWS: The purpose of HWS tracking data.  
Chris Whytock[MSFT]


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


 
08-04-04 01:47 AM


1) Yes, this is exactly what the interface is intended for, to be used by a
client application to query information about the HWS system.  The
administration interfaces are exposed via the HWS WMI classes.

2) That's correct.  Tracking data can be used for a number of purposes, not
only just to discover the current tasks assigned to a particular user.  For
instance, tracking data can be used as audit data, or to view everything
that has happened in an activity flow.  As such, you might not want a task
entry to dissappear once the task is marked completed.  The best way to
deal with this is to use the TaskFilter structure that you pass to
GetAllTasksForUser.  Set the Status property to InProgress, and make sure
to set the UseTaskFilter flag to true, and you will only receive tasks
which are in progress.

3)No, the only way to have a task recorded in the database by HWS is to
send a properly formatted message through a send port in an HWS action
orchestration.

--Chris

--------------------[vbcol=seagreen] 
the[vbcol=seagreen] 
users[vbcol=seagreen] 
tasks[vbcol=seagreen] 
approach[vbcol=seagreen] 
for[vbcol=seagreen] 
the[vbcol=seagreen] 

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

EBusiness Server Team






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:17 AM.      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