Author |
Message
|
mqwhelp |
Posted: Tue May 21, 2002 4:05 pm Post subject: Need of Process Template list & Process Instance List an |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
Hi All,
What is the need of process template list ,process instance list
and worklist ,If I can get evrything from ExecutionService
That is I can get workitem and notification from service object itself.
Also is it mandatory to create all these list ..??
Waiting for the rply |
|
Back to top |
|
 |
vedbhat |
Posted: Tue May 21, 2002 5:22 pm Post subject: |
|
|
 Disciple
Joined: 19 Mar 2002 Posts: 186 Location: Singapore
|
Hi,
What you said is partially correct. You can retrieve Process Template, Process Instance and WorkList from Execution Service.
Each of the above has its own use.
Process Template will have all the process models which you have created imported into runtime with translate option. Each of these process templates and can be instansiated.
Process Instance will show you all the instances of the Process Templates that are currently running.
Work List will show all the work items that belong to you or any other user for which you have access to.
If you are writing your own custom client, you can just display Worklist. Then you can handle the "Create Instance" and "Create and Start Instance" in a different way.
I hope this clears your mis-understanding.
Cheers
Ved _________________ IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
mqwhelp |
Posted: Tue May 21, 2002 7:59 pm Post subject: Need for all list |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
Thanks for the reply
My question was ..
Should I need to create all the list mentioned below
1. Process Template List
2. Process Instance List
3. Worlkist
if I don't need at all.Because I can create Process Instance and which makes MQ workflow to create workitem.Also I can query workitem
,process instance and process templates from executionservice's object
and do not need to create all the list as mentioned above.
Please let me know in detail if it is necessary or not necessary??
Waiting for reply |
|
Back to top |
|
 |
vedbhat |
Posted: Tue May 21, 2002 8:33 pm Post subject: |
|
|
 Disciple
Joined: 19 Mar 2002 Posts: 186 Location: Singapore
|
Hi,
It depends on you whether you want to get/display some information from/on these lists. It is not necessary that you need to create all of them. You can create one, two or all of them or also you can just make use of Execution Service object and use the Query.... method to get the relavent informations.
I hope this answers your question.
Cheers
Ved _________________ IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries |
|
Back to top |
|
 |
jmac |
Posted: Wed May 22, 2002 4:50 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
A query using any list (ProcessTemplate, ProcessInstance, WorkItem) is in then end a query against the ExecutionService object.
I try to NEVER USE lists (with the ActiveX API I have no choice). Their sole purpose is to hold for you a set of "Filter, Sort, and Threshold" values, which are then used in the query of the ExecutionService object. From a pure performance point of view query against the ExecutionService HAS TO BE FASTER, it does one less call.
Now, having said this, if you look at everything IBM has shown us (Fat Client, Thin Client) all of their code uses the Lists to do queries. So we are certainly getting mixed signals, and confusion on this issue has always existed. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mqwhelp |
Posted: Wed May 22, 2002 11:40 am Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
thanxs John..
Could you please answer for following question..
I have configured Java Corba Agent using fmczutil and making use of JNDI_Locator policy .But activity implementation only supports Loc_locator policy.
Can I use both policy together at same time in the given scenario.
Question:
Getting MQWorkflow objects using JNDI policy through EJB(Using Java API of my application) and in activity implementation I will be using Loc_locator policy(To call an EJB).
Waiting for your valuable comments. |
|
Back to top |
|
 |
jmac |
Posted: Wed May 22, 2002 4:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I dont know anything about this. Sorry _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|