Life Cycle Navigation Criteria Examples
Life cycle navigation criteria are the equivalent of a structure filter in Windchill MPMLink, where Latest is selected for the Choose a Type field on the Configuration Specification tab of the Edit Filter window.
Examples of JSON payloads that can be used as life cycle navigation criteria are provided for each of the input parameters on the ConvertFromProcessPlanID service:
The following table shows the relationship between the settings on the Configuration Specification tab of the Edit Filter window in Windchill MPMLink and the objects and attributes in a JSON payload for life cycle navigation criteria.
Windchill MPMLink Setting
JSON Object Attribute
Saved filter from the Filter action set on the Structure tab.
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
Saved filter from the Related Assembly Filter action set on the Structure tab.
"ApplicableType": "PTC.ProdMgmt.Part",
Apply to top level object checkbox.
"ApplyToTopLevelObject": "...",
Choose a Type=Latest.
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
Include Work In Progress checkbox.
"WorkingIncluded": "...",
View field.
"View": "...",
Life Cycle State field. For more information, see Retrieving Life Cycle State Values.
"LifeCycleState": {
"Value": "...",
"Display": "..."
},
BOM Type field.
"Variation1": "...",
Alternate BOM field.
"Variation2": "...",
Apply latest for unresolved dependents checkbox.
"UseDefaultForUnresolved": "..."
Life Cycle Filter Example for the processPlanNavigationCriteria Input Parameter
The following code shows an example JSON payload for the processPlanNavigationCriteria input parameter, providing navigation criteria for a life cycle filter:
{
"ApplicableType": "PTC.MfgProcMgmt.ProcessPlan",
"ApplyToTopLevelObject": false,
"ConfigSpecs": [{
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
"WorkingIncluded": false,
"View": "Manufacturing",
"LifeCycleState": {
"Value": "RELEASED",
"Display": "Released"
},
"Variation1": {
"Value": "production",
"Display": "Production"
},
"Variation2": {
"Value": "001",
"Display": "001"
}
}],
"Filters": [],
"UseDefaultForUnresolved": false
}
Life Cycle Filter Example for the relatedAssemblyNavigationCriteria Input Parameter
The following code shows an example JSON payload for the relatedAssemblyNavigationCriteria input parameter, providing navigation criteria for a life cycle filter:
{
"ApplicableType": "PTC.ProdMgmt.Part",
"ApplyToTopLevelObject": false,
"ConfigSpecs": [
{
"@odata.type": "#PTC.NavCriteria.WTPartStandardConfigSpec",
"WorkingIncluded": false,
"View": "Manufacturing",
"LifeCycleState": {
"Value": "RELEASED",
"Display": "Released"
},
"Variation1": {
"Value": "production",
"Display": "Production"
},
"Variation2": {
"Value": "001",
"Display": "001"
}
}
],
"Filters": [],
"UseDefaultForUnresolved": false
}
Was this helpful?