Author |
Message
|
tigerliew |
Posted: Sun Nov 20, 2005 6:22 pm Post subject: update dafault value in data structure? |
|
|
Novice
Joined: 22 Sep 2005 Posts: 10
|
It is possible to update a value in a data structure assigned to program activity in a process template? For example, a data structure named JDataA assigned to a process template ProcssA,which contained a data member named Datamember1,String, with default value "Deafult value".I imported the template to runtime.but for some reasons,i should change the "Deafult value" to "List Name",how could i do that via java api in runtime?
thanks! |
|
Back to top |
|
 |
kotha |
Posted: Mon Nov 21, 2005 7:18 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
You can change the FDL and import into runtime with the changes.
or if you want to change it from Default Value to List Name while it is runtime, you can do it by using workflow api.
Which client you are using?? |
|
Back to top |
|
 |
tigerliew |
Posted: Mon Nov 28, 2005 6:40 pm Post subject: |
|
|
Novice
Joined: 22 Sep 2005 Posts: 10
|
Thanks!
WorkFlow version is 3.5.
Now,I change FDL Files but i dont think its a effective way,is it? API is a good way,but i cant find any reference from IBM MQSeries Workflow programming guide.
would you give me more details? |
|
Back to top |
|
 |
kotha |
Posted: Mon Nov 28, 2005 8:11 pm Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
It is effective if the changes, you want, are permanant. If the application needs the change dynamically(while it is running) you can use workflow api and change it.
if you are using the jsp pages for the user interaction and webclient, you can always use workflow API.
try wotking with WF APIs, and let me know if you want example code |
|
Back to top |
|
 |
hos |
Posted: Tue Nov 29, 2005 12:38 am Post subject: |
|
|
Chevalier
Joined: 03 Feb 2002 Posts: 470
|
If you import into runtime don't for get to set the -o and -t options so that you updates take effect in the database. |
|
Back to top |
|
 |
tigerliew |
Posted: Wed Nov 30, 2005 1:24 am Post subject: |
|
|
Novice
Joined: 22 Sep 2005 Posts: 10
|
pachyderm wrote: |
It is effective if the changes, you want, are permanant. If the application needs the change dynamically(while it is running) you can use workflow api and change it.
if you are using the jsp pages for the user interaction and webclient, you can always use workflow API.
try wotking with WF APIs, and let me know if you want example code |
oh,it is so kind of you! And my eamil is tigerliew@gmail.com.
Thank you. |
|
Back to top |
|
 |
|