WAS v8.0 > Migration and coexistence > Distributed operating systems > Migrate administrative scripts > Migrate administrative scripts from a previously v5.1.x application server
Example: Migrating - Changing process definitions using scripting
The following changes can be made with with script compatibility support.
- HTTP transports: the architecture uses the new channel framework. HTTP definitions are mapped on top of this support. When compatibility mode is chosen, the old HTTPTransport objects are migrated and mapped onto the channel architecture. Existing scripts can modify these objects and will run unchanged.
- Process definition: The name of this object is changed from processDef to processDefs. We can mitigate this change by using the compatibility mode mapping provided by the migration tools. The change to scripts to use the new location is as follows:
- Old example using Jython:
processDef = AdminConfig.list('JavaProcessDef', server1) print processDef
- New example using Jython. Identify the process definition belonging to this server and assign it to the processDefs variable:
processDefs = AdminConfig.list('JavaProcessDef', server1) print processDefs
Migrate administrative scripts from a previously v5.1.x application server
Migrate administrative scripts from v6.x or 7.x to v8.0