Author |
Message
|
savfaire |
Posted: Tue Jun 10, 2003 3:39 pm Post subject: Wrong Data Structure |
|
|
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 |
|
 |
vennela |
Posted: Tue Jun 10, 2003 3:42 pm Post subject: |
|
|
 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 |
|
 |
savfaire |
Posted: Wed Jun 11, 2003 5:53 am Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Wed Jun 11, 2003 6:59 am Post subject: Re: Wrong Data Structure |
|
|
 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 |
|
 |
Ratan |
Posted: Wed Jun 11, 2003 8:34 am Post subject: |
|
|
 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 |
|
 |
|