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 » Filter question

Post new topic  Reply to topic
 Filter question « View previous topic :: View next topic » 
Author Message
koko
PostPosted: Thu Mar 10, 2005 7:26 am    Post subject: Filter question Reply with quote

Master

Joined: 26 Sep 2003
Posts: 206

I have a process stuck at one workstep. I want to delete all the parent process instances for this particular instance.

Say I have a Main process MAINP. The subprocess is SUBP. I have a workstep ACT1 stuck in this SUBP.

I would like to get a list of all such MAINPs which have this scenario.
_________________
Thanks

Koko
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Mar 10, 2005 7:48 am    Post subject: Reply with quote

Jedi Knight

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

Koko:

If you know the process Instance name, you can build a fileter using either PARENT_PROCESS_NAME or TOP_LEVEL_PROCESS_NAME.

The problem I see is that you want to do this given an Activity name, and I am pretty sure there is no way to get this via filtering with one query. You may need to write a little utility program.
_________________
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
hos
PostPosted: Fri Mar 11, 2005 8:01 am    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

You could exploit the ProcessContext attribute. It is available in subprocesses and activity instances and is a valid query attribute.
Back to top
View user's profile Send private message
jmac
PostPosted: Fri Mar 11, 2005 8:17 am    Post subject: Reply with quote

Jedi Knight

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

Volker:

I don't have a 3.5 system installed at the moment, so I cannot test this out, but by looking in the doc I do not see PROCESS_CONTEXT as a valid query string for queryActivityInstances().
_________________
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
hos
PostPosted: Sun Mar 13, 2005 11:12 pm    Post subject: Reply with quote

Chevalier

Joined: 03 Feb 2002
Posts: 470

John what I meant is:
- It is available for an activity implementation (via ProcessContext() API call)
- It can be used as a filter (PROCESS_CONTEXT) in queries for (sub-)process instances
Back to top
View user's profile Send private message
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 » Filter question
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.