For troubleshooting, it can be helpful to have a message appear in Prinergy Diagnostics that describes the problem. You can use custom code to add messages to Prinergy Diagnostics.
You can add a message using the following code:
'This function writes the message Please resend the job. to Diag
Creo.PWS.Automation.LowLevelUtilities.DiagMessage.LogMessage( _
System.Diagnostics.TraceLevel.Info, " Please resend the job. ")