Author |
Message
|
alex_do |
Posted: Wed May 12, 2004 10:37 pm Post subject: creating process instance |
|
|
Voyager
Joined: 17 Feb 2004 Posts: 85
|
Can we use esql code to create a process instance?
Thanks in advance. |
|
Back to top |
|
 |
Ratan |
Posted: Thu May 13, 2004 6:59 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
I dont have any clue about Esql. Can it generate XML? can it open a put a msg to MQ Queue?
If the answers for both the questions is Yes, then you sure can. _________________ -Ratan |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 13, 2004 7:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If he means ESQL as it is used within WMQI, then the answer to both of your questions is yes, and so the answer to his question is yes.
If he means some other ESQL, then I don't know. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
alex_do |
Posted: Thu May 13, 2004 8:30 am Post subject: |
|
|
Voyager
Joined: 17 Feb 2004 Posts: 85
|
Yes I am talking about the esql we use in WMQI.How can we create the processinstance? |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu May 13, 2004 8:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I'm not a Workflow person, so I don't know.
It sounds like you need to create properly formatted XML that instructs Workflow on how to create a process, and then put this message on the appropriate queue for Workflow to process. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CHF |
Posted: Thu May 13, 2004 10:21 am Post subject: |
|
|
 Master
Joined: 16 Dec 2003 Posts: 297
|
Quote: |
Yes I am talking about the esql we use in WMQI.How can we create the processinstance? |
Write a custom node in WMQI using ESQL that generates a ProcessTemplateCreateAndStartInstance message. In the OutPut node specify that it puts the output ProcessTemplateCreateAndStartInstance message to EXEXMLINPUTQ of WF Qmgr.
Refer to WF Programming guide: Chapte 32 for the sample message of ProcessTemplateCreateAndStartInstance .
CHF  |
|
Back to top |
|
 |
alex_do |
Posted: Thu May 13, 2004 10:27 am Post subject: |
|
|
Voyager
Joined: 17 Feb 2004 Posts: 85
|
|
Back to top |
|
 |
|