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 » [SOLVED]Empty input value for type long

Post new topic  Reply to topic
 [SOLVED]Empty input value for type long « View previous topic :: View next topic » 
Author Message
francoisvdm
PostPosted: Wed Jun 11, 2003 1:42 pm    Post subject: [SOLVED]Empty input value for type long Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

I'm starting a workflow with a MQ message "ProcessTemplateCreateAndStartInstance", and I supply values in some of the fields in the ProcInstInputData.

Now, I can supply an empty string for a string item, but not for a "long" data item.

Is there a way to "not give a value" for numeric fields?

Thank you
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Wed Jun 11, 2003 2:19 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Dont set them at all. Just construct the XML with the data you need leave all others.

Eg:
<MYData>
<Num> 5<\num>
<MyStr> str<\Mystr>
<\MyData>

If you dont need Num just send in

MYData>
<MyStr> str<\Mystr>
<\MyData>
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
francoisvdm
PostPosted: Thu Jun 12, 2003 6:33 am    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

Thanks, that helps up to a point. I'm getting problems with nested data.
Say:
<MyStruct>
<Data1>
<Data2>
<Name>abc</Name>
<Age>23</Age>
</Data2>
<Data2>
<Name>def</Name>
<Age>55</Age>
</Data2>
</Data1>
</MyStruct>

Then if I leave out the second Data2 section, the error FMC01104E is generated, telling me that the data element is not found.

I'm not skilled in XML, so do I make a basic error here? Thanks
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Jun 12, 2003 7:11 am    Post subject: Reply with quote

Jedi Knight

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

I have never come across such things. But reading your posts, looks like your problem is more like what is described in this thread.

http://www.mqseries.net/phpBB2/viewtopic.php?t=4343

Hope it helps
If not forget about it.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
francoisvdm
PostPosted: Thu Jun 12, 2003 7:31 am    Post subject: Reply with quote

Partisan

Joined: 09 Aug 2001
Posts: 332

Thanks - yes, that is my problem, so now I must make sure if there is one one, make it two.
_________________
If you do not know the answer or you get the urge to answer with "RTFM" or "Search better in this forum", please refrain from doing so, just move on to the next question. Much appreciated.

Francois van der Merwe
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 » [SOLVED]Empty input value for type long
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.