Customizing Operator Advisor > Importing Data into Operator Advisor > Converting Process Plans from Windchill MPMLink
Converting Process Plans from Windchill MPMLink
Windchill MPMLink process plans and their related information can be pulled into Operator Advisor using the provided conversion process. This conversion results in a set of parent and child work definitions and related database objects, such as related documents, material specifications, illustrations, control characteristics, and so on. Each time a process plan is converted, a new set of work definitions and related content is created in Operator Advisor.
To convert process plans from Windchill MPMLink into Operator Advisor:
1. Configure Operator Advisor to communicate with Windchill MPMLink:
a. Configure the MPMLink OData connector Thing (PTC.SCA.SCO.MPMLink_ODataConnector) following the instructions in Configuring the MPMLink OData Connector.
b. Configure the MPMLink work definition converter Thing (PTC.SCA.SCO.MPMLinkWorkDefinitionConverter) for your system following the instructions in Configuring the MPMLink Work Definition Converter.
c. Configure the content proxy media entity following the instructions in Configuring the Content Proxy Media Entity.
d. Download and configure the Integration Runtime Service for ThingWorx. For more information, see Configuring the Integration Runtime.
2. If your process plans include any custom Windchill attributes, add support for those custom attributes to the conversion process. For more information, see Supporting Windchill Custom Attributes.
3. Initiate the pull request for information from Windchill MPMLink by executing the ConvertFromProcessPlanID service from the MPMLink work definition converter Thing (PTC.SCA.SCO.MPMLinkWorkDefinitionConverter). Supply the Windchill MPMLink process plan identifier as the processPlanId input parameter for the service, and any additional navigation criteria to filter the process plan information that is converted. The service returns the UID of the root work definition for the converted process plan. For more information, see Work Definition Converter Thing Shape Services and Using Navigation Criteria in Process Plan Conversion.
The conversion service calls a sequence of other internal services to convert all Windchill MPMLink process plans, standard procedures, and operations associated with the specified process plan identifier, up to ten levels deep, into Operator Advisor work definitions with the appropriate related information. Standard process plans and standard procedures from Windchill MPMLink are treated as operations (child work definitions) in Operator Advisor.
The conversion process can take time to complete, depending on the size and complexity of the original process plan.
4. Query for the root work definition to see its execution status. Use the GetWorkDefinition service available from the default production order manager (PTC.SCA.SCO.DefaultProductionOrderManager) or the PostgresDatabase Query service. These execution statuses indicate the state of the conversion process:
Building—The process plan conversion is still in process.
BuildingSuccess—The process plan conversion has completed successfully.
BuildingFailure—Errors were encountered in the process plan conversion.
Any errors encountered during the process plan conversion can be reviewed in the script log or script error log.
For more information on work definitions and their related objects, see Work Definition Schema.
For more information on the conversion services, see Work Definition Converter Thing Shape Services.
The following table lists the mappings between Operator Advisor objects and Windchill MPMLink objects. Each of the Operator Advisor work definition objects in the table links to the data model property description for that object, which includes the mapping of Operator Advisor properties to Windchill attributes.
Operator Advisor Work Definition Objects
Windchill MPMLink Objects
Process Plan, Operation, Standard Procedure, and Standard Operation
Related Document for Operation (Reference and Described By Document)
2D (Annotation, Figure, Reference/describe by document with flag: showing in work instructions), 3D created by Creo View or Creo Illustrate
Standard Control Characteristic
Skill allocation
Skill
Resource allocation (Work Center, Tooling, Process Material, and so on)
Work Center, Tooling, Process Material, and so on
Part allocation (Allocated, Operated-on)
Occurrence level information for part allocations
Parts
Was this helpful?