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 » Synch UPES activity

Post new topic  Reply to topic
 Synch UPES activity « View previous topic :: View next topic » 
Author Message
kotha
PostPosted: Tue Oct 11, 2005 5:03 pm    Post subject: Synch UPES activity Reply with quote

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
View user's profile Send private message
mqmhr
PostPosted: Tue Oct 11, 2005 5:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Wed Oct 12, 2005 4:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
JKehoe
PostPosted: Wed Oct 12, 2005 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
kotha
PostPosted: Wed Oct 12, 2005 6:33 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Wed Oct 12, 2005 7:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
fidelio
PostPosted: Wed Oct 12, 2005 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message
kotha
PostPosted: Wed Oct 12, 2005 2:02 pm    Post subject: Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

Thank you Jhon and fidelo. I am good now to fix my issue.
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 » Synch UPES activity
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.