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 » <usercontext> tag in workflow instantiation message

Post new topic  Reply to topic
 <usercontext> tag in workflow instantiation message « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Tue Jul 08, 2003 5:07 am    Post subject: <usercontext> tag in workflow instantiation message Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

I would like to populate some information between <usercontext> </usercontext> tags for tracking purpose. Should it be plain text or can I uses XML tags?
for example <usercontext>For tracking purpose id=1234</usercontext>
or can I code <usercontext><id>1234</id><comments>For tracking purpose</comments></usercontext>. I prefer the later as it helps my error handler to be generic. Could somebody explain whethe I can put xml tags in <usercontext> field?
Thanks
Back to top
View user's profile Send private message Send e-mail
ucbus1
PostPosted: Tue Jul 08, 2003 5:49 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Seems like I can not put
xml tags inside <userContext> tags
Quote:
<usercontext><id>1234</id><comments>For tracking purpose</comments></usercontext>.

I changed it and getting <MessageText>FMC00001E Interface error
</MessageText>
When I took out the tags and coded plain text..it worked fine. Can some body throw light on this?[/quote]
Back to top
View user's profile Send private message Send e-mail
TJW
PostPosted: Tue Jul 08, 2003 7:41 am    Post subject: Reply with quote

Novice

Joined: 11 Dec 2002
Posts: 16
Location: UK

UserContext is defined as #PCDATA within the DTD, so no XML tags are allowed:


<!ELEMENT WfMessage WfMessageHeader?,GeneralError >
<!ELEMENT WfMessageHeader (ResponseRequired?, UserContext?) >
<!ELEMENT UserContext (#PCDATA) >
<!ELEMENT ResponseRequired (#PCDATA) >
Back to top
View user's profile Send private message
ucbus1
PostPosted: Tue Jul 08, 2003 8:45 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Am I allowed to changed the DTD? If so where would it be located normally?
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Tue Jul 08, 2003 9:22 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

As far as I know, You cant change the DTD. Do some workarounds.
I would add some Data members to my input container depending on the requirements.
_________________
-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 » <usercontext> tag in workflow instantiation message
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.