Author |
Message
|
anuppc |
Posted: Fri Jun 13, 2003 7:20 am Post subject: Activities Defined in a Process Template |
|
|
 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 |
|
 |
vennela |
Posted: Fri Jun 13, 2003 7:25 am Post subject: |
|
|
 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 |
|
 |
anuppc |
Posted: Fri Jun 13, 2003 7:34 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Fri Jun 13, 2003 8:03 am Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Fri Jun 13, 2003 8:18 am Post subject: |
|
|
 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 |
|
 |
jmac |
Posted: Fri Jun 13, 2003 10:02 am Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Fri Jun 13, 2003 10:46 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John, how do I get to this Process Template Deletion tool? _________________ -Ratan |
|
Back to top |
|
 |
jmac |
Posted: Fri Jun 13, 2003 2:38 pm Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Fri Jun 13, 2003 3:43 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
|
Back to top |
|
 |
|