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]Question abt ProcessTemplateCreateAndStart......

Post new topic  Reply to topic
 [SOLVED]Question abt ProcessTemplateCreateAndStart...... « View previous topic :: View next topic » 
Author Message
snan2020
PostPosted: Thu Oct 30, 2003 8:01 am    Post subject: [SOLVED]Question abt ProcessTemplateCreateAndStart...... Reply with quote

Apprentice

Joined: 06 Jun 2003
Posts: 36

Hi,
I have a doubt with ProcessTemplateCreateAndStartInstanceResponse().
I know that when you send a request ProcessTemplateCreateAndStartInstance() to workflow, it sends a response back using ProcessTemplateCreateAndStartInstanceResponse(). When I look at some example XML message of ProcessTemplateCreateAndStartInstanceResponse(), I understand that the element <ProcInstState> can expect values of Ready,Running,Finished,Terminated, Suspended, Terminating, Suspending,Deleted.

I am confused here with when actually Workflow sends the ProcessTemplateCreateAndStartInstanceResponse(). Do we actually define in the model or specify in our request to that when Workflow needs to send the response. Or does Workflow sends response to each state of the process.

Can someone please help me with this.

Thanks in advance.

Snan.


Last edited by snan2020 on Thu Oct 30, 2003 11:15 am; edited 1 time in total
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Oct 30, 2003 9:39 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

If you send in a CreateandStartInstance you will always get the Response as State = Running if the Request is accepted.

If you send in CreateInstance you will get a response of State = Ready

If you send in ProcessTemplateExecute you will get back a response of State = Executed.

Refer to Programming guide (I dont remember the exact page no, but there is a flow chart some where in XML interface which will help you with this).
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
snan2020
PostPosted: Thu Oct 30, 2003 11:14 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jun 2003
Posts: 36

Thanks Ratan.

Snan.
Back to top
View user's profile Send private message
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]Question abt ProcessTemplateCreateAndStart......
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.