Author |
Message
|
DJGoodrich |
Posted: Fri Dec 13, 2002 7:47 am Post subject: Passing XMl in Data Structure |
|
|
Apprentice
Joined: 12 Dec 2001 Posts: 30 Location: SW Florida
|
Client has requirement to start a workflow based upont he receipt of XML. Need to have the ability to reference individual XML elements in the control connector for transitional requirements. How is this done? |
|
Back to top |
|
 |
jmac |
Posted: Fri Dec 13, 2002 8:09 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
The only way to get the transition condition is to access the Control connector instances via the InstanceMonitor. Then you need to find the proper Control connector instance by matching the Activity Name. It takes a bit of coding, but you should be able to get at the transition condition using this. There is NO easy way to do what you want.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Dec 13, 2002 8:10 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
You should send the request XML to EXEXMLINPUTQ. use the default alias (alias to EXEXMLINPUTQ) queues FMC.FMCGRP.FMCSYS.EXE.XML or FMC.FMCGRP.EXE.XML to put the XML message to workflow.
Are you using a UPES to invoke your activities?
Suggested reading:
IBM MQSeries Workflow Programming Guide : Part 5 - The XML Message Interface.
-Laze |
|
Back to top |
|
 |
Ratan |
Posted: Fri Dec 13, 2002 8:13 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John, I did not understand what you said. His XML elements would be container members, and he can directly use them in the transition conditions.
-Laze |
|
Back to top |
|
 |
jmac |
Posted: Fri Dec 13, 2002 9:21 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Laze:
DJ wrote:
Quote: |
Need to have the ability to reference individual XML elements in the control connector for transitional requirements. |
I interpreted this to mean that he wants to know what container variables are used in the transition conditions. The only way you can get the transition condition that I am aware of is to use the ControlConnectorInstance object, which you can only get from the InstanceMonitor object.
I probably did not understand DJ's original query. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Ratan |
Posted: Fri Dec 13, 2002 9:45 am Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
John,
Ok, I got it.
But it looks like DJ wants to specify transition condition using XML elements. That is pretty direct.
-Laze |
|
Back to top |
|
 |
|