ReSubmitPubHeaderXmlDoc
Mon 01 January 2018Syntax
ReSubmitPubHeaderXmlDoc(PubID, PubNode, ChannelName, VersionName)
Description
Use the ReSubmitPubHeaderXmlDoc function to programmatically resubmit a message instance, as the message instance existed before any transformations were performed, much the same as you can do in the message monitor. This function resubmits the corresponding publication contract header.
Note: This function has been deprecated and remains for backward compatibility only. Use the IntBroker class Resubmit method instead.
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 XML 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. |
Returns
A Boolean value: True if function completed successfully, False otherwise.