ReSubmitPubXmlDoc
Mon 01 January 2018Syntax
ReSubmitPubXmlDoc(PubID, PubNode, ChannelName, VersionName, MessageName, SubNode[, Segment])
Description
Use the ReSubmitPubXmlDoc function to programmatically resubmit a message, much the same as you can do in the message monitor.
Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class Resubmit method instead.
This is the message publication as it exists after any transformations have been preformed. This function resubmits the corresponding publication contract.
You may want to use this method after an end user has finished fixing any errors in the message data, and you want to resubmit the message, rerunning the PeopleCode.
The function is only available when the message has one of the following statuses:
-
Error
-
Timeout
-
Edited
-
Canceled
Parameters
Field or Control |
Definition |
---|---|
PubID |
Specify the PubID as a number. |
PubNode |
Specify the Pub node as a string. |
ChannelName |
Specify the channel name as a string. |
VersionName |
Specify the version name as a string. |
MessageName |
Specify the name of the message as a string. |
SubNode |
Specify the name of the sub node as a string. |
Segment |
Specify an integer representing which segment you want to access. The default value is one, which means that if you do not specify a segment, the first segment is accessed. |
Returns
A Boolean value: True if function completed successfully, False otherwise.