Designer 10.7 | webMethods BPM Process Development Help | Process Engine Services | Summary of Elements in the WmPRT\pub Folder | pub.prt.tn:MatchBizDoc
 
pub.prt.tn:MatchBizDoc
WmPRT. Matches the supplied business document ID to a valid process model. This service provides support for webMethods Rosetta Net in Process Engine.
Input Parameters
The following table lists the input parameters.
bizdoc
Object com.wm.app.tn.doc.BizDocEnvelope — Trading Networks BizDocEnvelope document that you want to send to the Process Engine.
useThisMid
String Contains the model identifier to match to the bizdoc.
requireStart
String A flag that indicates whether the associated step starts the business process. The following values apply:
*true — Specify that the step associated with the specified bizdoc is a step that starts the business process.
*false — Specify that the step associated with the bizdoc does not have to start the business process.
Output Parameters
The following table lists the output parameters.
modelId
String The process model identifier that matches the specified business document.
trackCount
String The internal process track count for the matching process instance.
stepID
String The step identifier.
errorMessage
String Text of any generated error message (present only if a Service Exception is raised).
Usage Notes
The service invokes the original TNDispatcher.matchBizDoc() that returns the MatchResult object. This object is parsed for the output parameters used by the Rosetta Net implementation.