ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]XML Interface question

Post new topic  Reply to topic
 [Solved]XML Interface question « View previous topic :: View next topic » 
Author Message
Ratan
PostPosted: Fri Jan 31, 2003 9:42 am    Post subject: [Solved]XML Interface question Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jan 31, 2003 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ratan
PostPosted: Fri Jan 31, 2003 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Fri Jan 31, 2003 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Ratan
PostPosted: Fri Jan 31, 2003 12:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Ratan
PostPosted: Mon Feb 03, 2003 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]XML Interface question
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.