Author |
Message
|
kotha |
Posted: Tue Oct 11, 2005 5:03 pm Post subject: Synch UPES activity |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
So far I worked with Asynch UPES activites. Now I have a workflow process where my external application put a messege to complete the synch upes activity. I am putting the following xml test message into FMC.FMCGRP.FMCSYS.EXE.XML queue after making some modifications to the message I got from workflow for the testing purpose. the issue is, the synch activity is not recognizing it seems or something I am doing wrong. One more thing I observed is the message I put in FMC.FMCGRP.FMCSYS.EXE.XML using amqapi utility is not appearing when I open that queue using mq explorer..the current depth is 0...even after refreshing!!.
How to deal with synch UPES activity??. Any help is greatly appriciated.
Quote: |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- This document is generated by a MQSeries Workflow Version 3.5.0 server -->
<WfMessage>
<WfMessageHeader>
<ResponseRequired>No</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvokeResponse>
<ActImplCorrelID>RUEAAAABAChAAwAAAAAAAAAAAAAABAAAAAEAEgAAAAAAAAAAAAAAAAAEQQAAAAEALgACAAAAAAAAAABF</ActImplCorrelID>
<ProgramOutputData>
<_ACTIVITY>Email_Reviewer</_ACTIVITY>
<_PROCESS>JdrProcess4$AAAAAQAoQAMAAAAAAAAAAA==</_PROCESS>
<_PROCESS_MODEL>JdrProcess4</_PROCESS_MODEL>
<_PROCESS>Incomplete<_PROCESS>
<_PROCESS_MODEL>this is not for me<_PROCESS_MODEL>
<EsData>
<Reviewer>STEVE</Reviewer>
<Process>JdrProcess4$AAAAAQAoQAMAAAAAAAAAAA==</Process>
<message>Job</message>
<BatchJobReviewer>
<author></author>
</BatchJobReviewer>
</EsData>
</ProgramOutputData>
<ProgramOutputDataDefaults>
<_ACTIVITY>Email_Reviewer</_ACTIVITY>
<_PROCESS>JdrProcess4$AAAAAQAoQAMAAAAAAAAAAA==</_PROCESS>
<_PROCESS_MODEL>JdrProcess4</_PROCESS_MODEL>
<_ACTIVITY>
<_ACTIVITY>
<_PROCESS>JdrProcess4$AAAAAQAoQAMAAAAAAAAAAA==<_PROCESS>
<_PROCESS_MODEL>JdrProcess4<_PROCESS_MODEL>
</ProgramOutputDataDefaults>
</ActivityImplInvokeResponse>
</WfMessage> |
|
|
Back to top |
|
 |
mqmhr |
Posted: Tue Oct 11, 2005 5:43 pm Post subject: |
|
|
Centurion
Joined: 28 Dec 2004 Posts: 105
|
Some reasons why your sync activity is not resuming execution
1. This Response XML is not well formed
2. The ActImplCorrelId is not the same as the request message
3. There is a mismatch between the data structures in the response message and the output container of the sync activity
To find out the cause of the error, set ResponseRequired to Yes in this response message, specify a ReplyToQ in the MQMD and put the message into EXEXMLINPUTQ. Look at the ReplyToQ for a message that specifies the error. |
|
Back to top |
|
 |
jmac |
Posted: Wed Oct 12, 2005 4:26 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
have a look in your fmcsys.log file to see if there are any errors indicated with your reply message _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
JKehoe |
Posted: Wed Oct 12, 2005 6:20 am Post subject: |
|
|
Novice
Joined: 10 Aug 2005 Posts: 20
|
You don't have a Return Code element in your response message. try adding this line right after your <ActImplCorrelID> tag:
<ProgramRC>0</ProgramRC>
Josh |
|
Back to top |
|
 |
kotha |
Posted: Wed Oct 12, 2005 6:33 am Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
mqmhr wrote: |
1. This Response XML is not well formed
2. The ActImplCorrelId is not the same as the request message
3. There is a mismatch between the data structures in the response message and the output container of the sync activity
|
I dont know wether is formatted well but I followed the example given by IBM pdf.
the other two you mentoned, everything is OK. ActImplCorrelId and Data structure are fine too.
As Jmac suggeted, I see the fmcsys log to find errors, I see following:
Quote: |
FMC31050E An error has occured which terminated processing.
FmcFMLEXception, MQRetrurncode=2, MQReasonCode=2162, MQObjectName=FMC.FMCGRP.FMCSYS.ADM, severe error |
I will try with a eturn response and post the results here.
Thank you all. |
|
Back to top |
|
 |
jmac |
Posted: Wed Oct 12, 2005 7:11 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
2162 is MQRC_Q_MGR_STOPPING the queue manager must be running _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
fidelio |
Posted: Wed Oct 12, 2005 11:06 am Post subject: |
|
|
Apprentice
Joined: 14 Sep 2005 Posts: 45 Location: AttainBPM
|
Response messages can be very simple:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<WfMessage>
<WfMessageHeader>
<ResponseRequired>No</ResponseRequired>
</WfMessageHeader>
<ActivityImplInvokeResponse>
<ActImplCorrelID>BBBBLLLLLLLLLLLAAAAAAAAAAHHHHHHHHH</ActImplCorrelID>
<ProgramRC>0</ProgramRC>
<ProgramOutputData>
<DataStructure>
</DataStructure>
</ProgramOutputData>
</ActivityImplInvokeResponse>
</WfMessage>
Make sure you close all of your tags, and you don't need the defaults in the reply. |
|
Back to top |
|
 |
kotha |
Posted: Wed Oct 12, 2005 2:02 pm Post subject: |
|
|
Partisan
Joined: 12 Mar 2005 Posts: 333
|
Thank you Jhon and fidelo. I am good now to fix my issue. |
|
Back to top |
|
 |
|