TeamcenterKnowledge

Installing and configuring MBSE > Configuring MBSE > Configuring test management

Upgrade from versions of Active Workspace before 4.1

At Active Workspace 4.1, changes to the verification request (analysis request) data model were made to enhance performance. If you are upgrading from an earlier version, you must run the migration utility described below, whether you have a Teamcenter 11 or 12 server platform.

In earlier versions of Active Workspace, when you set the input attributes on an analysis request, the system:

  • Copied the attribute from the selected occurrence.
  • Associated the copied attribute to the analysis request with the Att0HasInputRelation relation.
  • Associated the copied attribute to the selected occurrence with the Att0HasInputOutputRelation relation.

In later versions of Active Workspace, the measurable attribute is copied to the analysis request only when you edit the measurable attributes in the context of the analysis request. Otherwise, input and output measurable attributes are simply referenced (not copied).

Migration utility

Run the migrate_measurable_attr utility from the Teamcenter bin directory. Syntax:

migrate_measurable_attr [-u=user-id {-p=password | -pf=password-file} -g=group]
  -logfile=log file
  [-h]
Argument Description
-u Specifies the user ID (a user with Teamcenter administration privileges). Note: If Security Services single sign-on (SSO) is enabled for your server, the -u and -p arguments are authenticated externally through SSO rather than against the Teamcenter database. If not supplied, the utility attempts to join an existing SSO session; if no session is found, you are prompted for a user ID and password.
-p Specifies the password. Mutually exclusive with -pf.
-pf Specifies the password file. Mutually exclusive with -p.
-g Specifies the group associated with the user. If omitted, the user's default group is assumed.
-logfile Specifies the path to the log file created by the utility.
-h Displays help for this utility.

If you have customized your environment with the analysis request APIs, set the PLE_AnalysisRequest_CopyAttribute preference to True. If set to True, the system saves measured values back to the analysis request in a copy of the measurable attribute. (The source is truncated regarding the behavior when set to another value.)