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 » How to query Activity Instances ?

Post new topic  Reply to topic
 How to query Activity Instances ? « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Mon Dec 01, 2003 8:18 am    Post subject: How to query Activity Instances ? Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

I would like to know Activity instances containing particualr name say "AI_XYZ" with state say inactive/Running. Is it possible to query for Activity Instances using out-of-box web client?
If so, how my query showd look like when creating the worklist/instance list?
Thanks


Last edited by ucbus1 on Mon Dec 01, 2003 9:34 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
kriersd
PostPosted: Mon Dec 01, 2003 8:46 am    Post subject: Reply with quote

Master

Joined: 22 Jul 2002
Posts: 209
Location: IA, USA

ucbus

I believe all you need to do is create a worklist and then set the filter. Simple as that.. !!!

Dave
_________________
Dave Krier

IBM WebSphere MQ Workflow V3.4 Solution Designer
Back to top
View user's profile Send private message
ucbus1
PostPosted: Mon Dec 01, 2003 9:39 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

I think I have missed to mention. I have only workinstance not worklist as it is a UPES activity. So how do I query workinstance?
Could you giveme an example how the filter looks like for querying Activity instances meeting certain criteria when I do not have a work Item for it. Currently I am going to each workinstance which I find to be bit delayed , check the monitor view and find out what stop the instance is in and then click on the stop to find out the properites of "Activity Instance".
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Dec 01, 2003 11:07 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ucbus:

Sad but true... there is no way to query ActivityInstances. The easiest way to get to the activity instance is from the workitem. If you have the Process instance you can get all the activity instances and then loop thru and match on the name.

GOOD LUCK
_________________
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
CHF
PostPosted: Fri May 28, 2004 5:17 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Quote:
there is no way to query ActivityInstances

Quote:
If you have the Process instance you can get all the activity instances


I am little confused with the above two statements. Can you give me the sequence of API calls in order to get the activity instances from a Process Instance?

Thanks
CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Ratan
PostPosted: Fri May 28, 2004 7:16 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

get hold of ProcessInstanceMonitor. Get ActivityInstances from It.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Fri May 28, 2004 7:43 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

If it's for reporting purpose it will be better if you look at the audit trail than traversing through the process instance.
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
CHF
PostPosted: Fri May 28, 2004 7:44 am    Post subject: Reply with quote

Master

Joined: 16 Dec 2003
Posts: 297

Thanks Ratan

CHF
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jmac
PostPosted: Sat May 29, 2004 3:39 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Just a reminder to all.. with V 3.5 you can query activity instances... when this thread started 3.5 was not yet available... it is now.
_________________
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
manoj
PostPosted: Sun May 30, 2004 7:39 am    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

Thanks John,
This is great news for us
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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 » How to query Activity Instances ?
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.