ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved] Workitem querying ??

Post new topic  Reply to topic
 [Solved] Workitem querying ?? « View previous topic :: View next topic » 
Author Message
elvis_gn
PostPosted: Thu May 12, 2005 10:38 pm    Post subject: [Solved] Workitem querying ?? Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri May 13, 2005 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
elvis_gn
PostPosted: Fri May 13, 2005 5:53 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Yes grand master
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved] Workitem querying ??
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.