Designer 10.7 | webMethods BPM Process Development Help | Process Engine Services | Summary of Elements in the WmPRT\pub Folder | pub.prt.admin:scanPackage
 
pub.prt.admin:scanPackage
WmPRT. Tells the Process Engine to scan a specified package for new or updated process model version fragments and use these fragments to update its internal model index.
This service updates the Process Engine index as follows:
*If a fragment file is new, scanPackage adds information from this file to the Process Engine index.
*If a fragment file is modified, scanPackage replaces existing index information to reflect the modifications.
*If a fragment file no longer exists, scanPackage deletes the corresponding index information.
Input Parameters
The following table lists the input parameters.
Package
String Name of the package that you want to scan. If the named package does not exist on the Integration Server, information about any fragments previously loaded from that package will be deleted from the Process Engine model index.
Output Parameters
The following table lists the output parameters.
ExistingFragments
String List Conditional. Number of fragments contained in the package that were already known to the Process Engine.
ModifiedFragments
String List Conditional. Number of fragments contained in the package that had been modified since the Process Engine last read them.
MissingFragments
String List Conditional. Number of fragments contained in the package that have been deleted since the Process Engine last read them.
NewFragments
String List Conditional. Number of fragments contained in the package that are new since the Process Engine last scanned the named package.
Usage Notes
Use this service before or after replicating a package that contains Process Engine process model version fragments to accomplish the following:
*After unzipping a package onto a new server but before enabling it, invoke this service to force the Process Engine to pick up the new fragments.
*After disabling all related process model versions, zipping a package, and deleting the package from an old server, invoke this service to force the Process Engine to discard information about the old model version.