您在创建安装包后,需要将其抽取到文件。请使用 BPMExtractOfflinePackage 命令来抽取安装包。
如“创建安装包”中所述来创建安装包。
根据需要,使用 BPMShowProcessApplication 命令确定流程应用程序的 Snapshot 和容器首字母缩写。
以下示例说明了如何抽取 BillingDispute 流程应用程序的 Snapshot 的安装包。 此安装包已通过使用 BPMCreateOfflinePackage 命令或 Process Center Console 创建。
在本例中,用户建立与 Process Center Server 的 SOAP 连接。
wsadmin -conntype SOAP -port 4080 -host ProcessCenterServer01.mycompany.com -user admin -password admin -lang jython
AdminTask.BPMExtractOfflinePackage('[-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1 -containerTrackAcronym Main -serverName processServer315 -outputFile C:/myProcessApps/BILLDISP201.zip]')
wsadmin -conntype SOAP -port 4080 -host ProcessCenterServer01.mycompany.com -user admin -password admin
$AdminTask BPMExtractOfflinePackage {-containerAcronym BILLDISP -containerSnapshotAcronym SS2.0.1 -containerTrackAcronym Main -serverName processServer315 -outputFile C:/myProcessApps/BILLDISP201.zip}
将安装包传输到脱机服务器,然后安装 Snapshot 。请参阅“安装包的传输和安装”。