Author |
Message
|
Ratan |
Posted: Fri Jan 31, 2003 9:42 am Post subject: [Solved]XML Interface question |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Hi,
I put the <processTemplateCreateandStartInstance> message to the EXEXMLINPUTQ of WF Server and I get a response back to the 'Reply2Q' specified in the MQMD section of the Input Message.
In the response message I always get the <procInstState>running<\processInstState> message. I am trying to understand if WF ever puts a <ProcInstState>finished<\ProcessInstState> message.
Is it possible to get the 'finished' message ( after the completion of the Instance) instead of a 'running' message, by changing any configuration parameters.
-Laze. |
|
Back to top |
|
 |
jmac |
Posted: Fri Jan 31, 2003 10:08 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
What you are seeing is the documented affect. The only thing you might be able to do is to use the ExecuteProcess XML message.
This message will wait to return until your process has completed. However, unless your process is all automatic, this may not be desireable. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Jan 31, 2003 10:14 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Thanks John. That is what I thought, but my confusion is from an XML example shown in the 'Programming Guide' on page 612 of V332 manual. This example raised considerable doubt.
Please take a look and let me know.
-Thnx Laze |
|
Back to top |
|
 |
jmac |
Posted: Fri Jan 31, 2003 10:25 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Code: |
<ProcessTemplateCreateAndStartInstanceResponse>
<ProcessInstance>
<ProcInstID>42424242EFEFEFEF</ProcInstID>
<ProcInstName>Credit Request#658321</ProcInstName>
<ProcInstTopLevelName>Credit Request#658321</ProcInstTopLevelName>
<ProcInstDescription>Sample description</ProcInstDescription>
[b]<ProcInstState>Finished</ProcInstState>[/b]
<LastStateChangeTime>1999-05-18 14:35:00</LastStateChgTime>
<LastModificationTime>1999-05-19 23:40:00</LastModTime>
<ProcTemplID>84848484FEFEFEFE</ProcTemplID>
<ProcTemplName>OnlineCreditRequest</ProcTemplName>
<ProcTemplValidFromDate>1999-05-05 17:24:00</ProcTemplValidFromDate>
<Icon>fmcpcred</Icon>
<Category>Finance</Category>
</ProcessInstance>
</ProcessTemplateCreateAndStartInstanceResponse> |
Laze:
I see what you mean.... I have never gotten anything back other than "Running" in the <ProcInstState>
I guee this might be one for the developers to answer. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Jan 31, 2003 12:38 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Yes John, I never got anything other than 'Running' either. I looked all over the place to see if I can do any setting to get that effect (like a synchronous/asynchronous).
-Thnx Laze |
|
Back to top |
|
 |
Ratan |
Posted: Mon Feb 03, 2003 9:50 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Hi John,
I asked this question on the IBM workflow newsgroup and got back a reply saying the example is wrong and they will change it in their next documentation release.
Abstract: I should not get the 'finished' message for CreateandstartInstance.
-Thnx Laze |
|
Back to top |
|
 |
|