Author |
Message
|
ucbus1 |
Posted: Tue Jul 08, 2003 5:07 am Post subject: <usercontext> tag in workflow instantiation message |
|
|
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 |
|
 |
ucbus1 |
Posted: Tue Jul 08, 2003 5:49 am Post subject: |
|
|
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 |
|
 |
TJW |
Posted: Tue Jul 08, 2003 7:41 am Post subject: |
|
|
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 |
|
 |
ucbus1 |
Posted: Tue Jul 08, 2003 8:45 am Post subject: |
|
|
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 |
|
 |
Ratan |
Posted: Tue Jul 08, 2003 9:22 am Post subject: |
|
|
 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 |
|
 |
|