|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved] Workitem querying ?? |
« View previous topic :: View next topic » |
Author |
Message
|
elvis_gn |
Posted: Thu May 12, 2005 10:38 pm Post subject: [Solved] Workitem querying ?? |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi,
when we query the qorkitems in the workflow we can set some filter in the query itself.
Is it possible to query with the data which lies in the container of the workitem ???
In brief:
Suppose i have two fields in the container emp_id and emp_surname.
I set the emp_id as the Description and use the query:
service.queryWorkItems("DESCRIPTION = '323'", , )
Now is it possible to query with the emp_surname also, without having to do emp_id+emp_surname in the Description.
I hope my question can be understood ???
Last edited by elvis_gn on Fri May 13, 2005 5:54 am; edited 1 time in total |
|
Back to top |
|
 |
jmac |
Posted: Fri May 13, 2005 5:24 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Your question is understood, and most likely has been answered on this forum many times. The only way to query based on container content is to have that content in the Description like you are saying. There is no access to the container during query, and even if you were to write your own MQWF client, that did the queryWorkitems, then queried for the container of each workitem, you would find that your performance would be unacceptable.
Moral: Use Description _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
elvis_gn |
Posted: Fri May 13, 2005 5:53 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Yes grand master  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|