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 » Wrong Data Structure

Post new topic  Reply to topic
 Wrong Data Structure « View previous topic :: View next topic » 
Author Message
savfaire
PostPosted: Tue Jun 10, 2003 3:39 pm    Post subject: Wrong Data Structure Reply with quote

Newbie

Joined: 10 Jun 2003
Posts: 7

My workflow is invoking a program synchronously, via UPES. The program will send a response back to workflow that I do not care about. I have specified "Program handles all data structures" in the program properties. I have also specified the default data structure as the data structure for the activity's output container.

When I run a test, I workflow gives a "FMC0110E Wrong data structure 'response' for container." message.

How do I tell workflow to ignore any data structure it receives in the response from a particular program?
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 10, 2003 3:42 pm    Post subject: Reply with quote

Jedi Knight

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

Make the activity asynchronous if you don't care about the response.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
savfaire
PostPosted: Wed Jun 11, 2003 5:53 am    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2003
Posts: 7

I cannot make the activity asynchronous because the next activity in the workflow is dependant on the completion of the activity in question. Prior to sending the response back to workflow, I have a WMQI message flow that sets the _RC field to reflect the status of the program's execution. The _RC field is the only field the workflow is concerned with, but the program may return different data structures under certain cases.

The WMQI message flow has been developed as a generic component that can be used to send responses to workflow for any invocation. Therefore, I cannot put any application specific details in the message flow.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Jun 11, 2003 6:59 am    Post subject: Re: Wrong Data Structure Reply with quote

Jedi Knight

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

savfaire wrote:
The program will send a response back to workflow that I do not care about.


I am sorry that I didn't understand your question well. From the above lin it looked like you never cared about the response.

I don't think what you are trying to do can be done. Either your app should send a good XML or your WMQI flow should be smart enough to send a good XML to Workflow. There are no settings in workflow to make that happen.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Wed Jun 11, 2003 8:34 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

If you do not care about the return datastructure, set the output of activity to some datastructure say XXX and have the min set of members which will be common with all returned datastructures. This should solve your problem.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
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 » Wrong Data Structure
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.