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 » Activities Defined in a Process Template

Post new topic  Reply to topic
 Activities Defined in a Process Template « View previous topic :: View next topic » 
Author Message
anuppc
PostPosted: Fri Jun 13, 2003 7:20 am    Post subject: Activities Defined in a Process Template Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Hi all,
Does anyone know if i can find the activities defined in a Process Template using the api?

Iam able to get an array of activities from a Process Instance though, but i want to know the activities defined - from the template.


Or do i have to dig into the Runtime database to get that info... if anyone has done this b4 pls let me know.

Thanks

Anup
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Fri Jun 13, 2003 7:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I don't think you can do that using APIs. But why do you need to do that anyway.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
anuppc
PostPosted: Fri Jun 13, 2003 7:34 am    Post subject: Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

There are templates with same name r exported to runtime. Internally the workflow does treat them as seperate processes. i would like to know the changes between the templates even when i dont have any instance running.
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Fri Jun 13, 2003 8:03 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

If you import with o you should be able to overwrite the old template. Is it a requirement for you not to overwrite a process template?
I think this is what happens when a process is imported to workflow with overwrite option.
All the inflight process instances will run as old process templates
Any new instances that will be started will run as new process templates

Workflow makes a copy of the process template when created and that's why the in flight instances will take the old template.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Fri Jun 13, 2003 8:18 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Quote:

There are templates with same name r exported to runtime. Internally the workflow does treat them as seperate processes. i would like to know the changes between the templates even when i dont have any instance running.


Id this true? I never noticed it. The only reason I thought was having inflight processes. If there are no running process The old template gets overwritten, unless you specify an activation date for the new Process Template. Am I wrong?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jun 13, 2003 10:02 am    Post subject: Reply with quote

Jedi Knight

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

I dont think there is any api to do this.

Ratan:
You might want to have a look at the IBM Process Template Deletion Tool.

This tool will report on all of the Templates that are in the database, and I think you might be surprised that there are many templates that you would thought would be deleted that are still there. I have just begun to play with this, and really don't understand yet what it is that I am looking at.

I know that this does not answer the original question, but I think this shows what Anup was talking about. Of course I may be way off base here.
_________________
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
Ratan
PostPosted: Fri Jun 13, 2003 10:46 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

John, how do I get to this Process Template Deletion tool?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jun 13, 2003 2:38 pm    Post subject: Reply with quote

Jedi Knight

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

Go to IBM support site and search for PTDT and you should get it.

I dont have the URL with me Im out teaching this week
_________________
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
Ratan
PostPosted: Fri Jun 13, 2003 3:43 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

John, Got it. - Thnx.
The URL is:
http://www-1.ibm.com/support/docview.wss?uid=swg24004464
_________________
-Ratan
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 » Activities Defined in a Process Template
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.