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 » Using Workflow with Integrator

Post new topic  Reply to topic
 Using Workflow with Integrator « View previous topic :: View next topic » 
Author Message
lung
PostPosted: Mon May 05, 2003 7:36 pm    Post subject: Using Workflow with Integrator Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Hi, I'm new to Workflow, and am very interested on how it can work together with Websphere MQ Integrator (WMQI). Any tips?

I just learnt how to invoke the activities Workflow using programs, but what about using a message queue?

Thanks!
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Ratan
PostPosted: Tue May 06, 2003 8:09 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

For Automatic activites it is recommended to use a UPES (User defined Program Execution Server). UPES is a process that keeps listening on a predefined Queue for program invokation messages. When you specify the activity execution to be carried on by a UPES, Workflow send a <ActivityImplInvoke> message to this queue. Upes will be resposible for parsing this XML, invoking the appropriate program and returning the result XML.

This (UPES) can also be achieved by MQSI as far as I understand. I dont have experience with MQSI though.

-Ratan.
Back to top
View user's profile Send private message Send e-mail
lung
PostPosted: Tue May 06, 2003 7:31 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

Sounds complicated. I have no experience at all with UPES. Are you defining a queue as an UPES here? (UPES = queue) So what is the format of this XML file that I should send to the UPES queue?

Any manual or redbook on this that I can download?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
jk
PostPosted: Tue May 06, 2003 10:52 pm    Post subject: Reply with quote

Apprentice

Joined: 09 Jan 2002
Posts: 36

u dont have to specify any format tp put in the queue.

create a queue say UPES in the QMgr FMCQM.
create in MQWF Buildtime, a new UPES with any name and map it to the UPES queue created in FMCQM.

In the MQInput node of a message flow in MQSI, specify the UPES created in FMCQM as the QName.

so the process will put an <ActivityImplInvoke> message into the queue, which will be picked up by the MQSI message flow.
Back to top
View user's profile Send private message
RichA
PostPosted: Wed May 07, 2003 12:22 am    Post subject: Reply with quote

Centurion

Joined: 14 Mar 2002
Posts: 102

have a look in the Workflow Programming guide, there is a section titled The XML Message interface, it's very useful, it also gives an example MQ Workflow XML Message Format, and an example XML message to create and start a process instance.
Back to top
View user's profile Send private message MSN Messenger
lung
PostPosted: Wed May 07, 2003 11:30 pm    Post subject: Reply with quote

Master

Joined: 27 Aug 2002
Posts: 291
Location: Malaysia

jk wrote:
u dont have to specify any format tp put in the queue.
So I don't need to have a specific format in the XML message that I will send to the workflow Q? But...
RichA wrote:
have a look in the Workflow Programming guide, there is a section titled The XML Message interface, it's very useful, it also gives an example MQ Workflow XML Message Format, and an example XML message to create and start a process instance.
I've checked and in chapter 35 there is a sample XML message there that looks to have a really complicated format of some kind...

So which is which? Can I just send an empty message (only MQMD) or do I need to have some XML in it? Or do I need a specific format like the one in chapter 35?
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Thu May 08, 2003 6:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Lung:

There are two things here with XML and Workflow.
1. UPES = Queue. You are right here. You will NEVER put anything to this queue. MQWF Server puts an XML message to this queue. This means an activity is implemented by UPES (instead of a PEA or PES) and MQWF by putting an XML message to the UPES(queue) assumes somebody will take care of the message.

2. You put an XML message to EXEXMLINPUTQ. These are the following reasons why you may put a message to EXEXMLINPUTQ
(a) ProcessTemplateCreateInstance
ProcessTemplateCreateAndStartInstance

and a few others like that.
(b) Send a response for the MQMessage put on UPES (as mentioned in 1).

What you want to do with the XML Message that is put to the UPES and how you send the response to it, or how you put an XML message to Workflow is upto you. You can write stand alone programs, you can use WMQI flows to do that or whatever.

I think you should read from chapter 31 to 35 for a clear understanding of XML concept.

Hope I didn't confuse things in the effort of making them clear.
-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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 » Using Workflow with Integrator
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.