Reassign Life Cycle Command Line Utility
Use the Reassign Life Cycle command line utility to report the number of objects within a specified life cycle state as well and bulk reassign objects from one life cycle template to another.
The utility can be run in one of two modes:
Report Mode
Use the report mode to generate a report file that displays the number of objects assigned to the source or target life cycle template in the contexts specified by the containerOIDs parameter.
This mode is useful when determining the number of objects available to reassign to the target life cycle template or, after reassigning objects, to determine if all objects assigned to the source life cycle template were reassigned.
After running the utility, a report file is generated and saved under the <Windchill>/bin directory. The generated report displays the number of objects of the specified types and in the specified contexts that are in the following:
In the source life cycle template
In the advanced iterations of the source life cycle template
In the basic iterations of the source life cycle template
In the target life cycle template
In the basic iterations of the target life cycle template
In the advanced iterations of the target life cycle template
* 
If you are running Windchill as a service, log files are saved under <Windchill>/opt/ntservice.
Reassign Mode
Use this mode to reassign all objects of a particular object type to a new life cycle template. The source and target life cycle templates can be of any type (basic or advanced). The utility reassigns the life cycle of objects to the latest iteration of the target life cycle.
After running the utility in the reassign mode, you can run it again in the report mode to ensure that all objects were reassigned. If not all objects were reassigned, the utility can be run again in reassign mode as needed. Any objects that are missed could also be reassigned in Windchill using the Reassign Life Cycles action available on the object information page or from the right-click actions menu.
After running the utility, a report file is generated and saved under the <Windchill>/bin directory. The generated report displays the following:
The same report information as when the utility is run in report mode.
The total number of objects that remain to be reassigned.
The object identifier for each object reassigned.
The source and target life cycle state for each object reassigned.
* 
If you are running Windchill as a service, log files are saved under <Windchill>/opt/ntservice.
これは役に立ちましたか?