Moving Human Workflow Data from Test to Production Environments

21-18 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite name = ALL user = group = LoanAgentGroup grantPermission = true migrateAttributeLabel = false override = true skip = true migrateToActiveVersion = false

21.6.2.1.18 Importing All Standard Views This example imports all standard views.

operationType = IMPORT objectType = VIEW name = ALL user = group = LoanAgentGroup grantPermission = true migrateAttributeLabel = false override = true skip = true migrateToActiveVersion = false

21.6.2.1.19 Exporting a Specific Standard View This example exports a specific standard

view. operationType = EXPORT objectType = VIEW name = MyStandardView1 user = group = LoanAgentGroup grantPermission = true migrateAttributeLabel = false override = true skip = true migrateToActiveVersion = false

21.6.2.1.20 Importing a Specific Standard View This example imports a specific standard

view. operationType = IMPORT objectType = VIEW name = MyStandardView1 user = group = LoanAgentGroup grantPermission = true migrateAttributeLabel = false override = true skip = true migrateToActiveVersion = false

21.6.3 ant Script Data Migration Syntax

Use the ant script for data migration. The script is located in the following directory: ORACLE_HOME binant-t2p-worklist.xml The script uses the following format to migrate human workflow configurable data from one SOA server to another: ant -f ant-t2p-worklist.xml -Dbea.home=BEA_HOME Managing Human Workflow Service Components and Engines 21-19 -Dsoa.home=SOA_HOME -Dmigration.properties.file=MIGRATION_PROPERTY_FILE_PATH -Dsoa.hostname=SOA_HOSTNAME -Dsoa.rmi.port=SOA_RMI_PORT -Dsoa.admin.user=SOA_ADMIN_USER -Dsoa.admin.password=SOA_ADMIN_PASSWORD -Drealm=REALM -Dmigration.file=MIGRATION_FILE -Dmigration.file=MIGRATION_FILE -Dmap.file=MAP_FILE For example: ant -f ant-t2p-worklist.xml -Dbea.home=netmyhostjsmithfmwhome -Dsoa.home=netmyhostjsmithfmwhomeAS11gR1SOA -Dmigration.properties.file=migration.properties -Dsoa.hostname=myhost.us.oracle.com -Dsoa.rmi.port=7001 -Dsoa.admin.user=weblogic -Drealm=jazn.com -Dmigration.file=tmpexport_all_userRules.xml -Dmap.file=tmpexport_all_userRules_mapper.xml Argument Definition bea.home The absolute path of the installation directory for Oracle WebLogic Server. soa.home The absolute path of the Oracle SOA Suite home directory. migration.properties. file The absolute path to the migration.properties file. soa.hostname The hostname of the SOA server instance. Note: You must specify the complete domain name, such as myhost.us.oracle.com, instead of myhost. soa.rmi.port The remote method invocation RMI port of the SOA server instance. soa.admin.user The Admin user name to connect to the SOA server instance. soa.admin.password The Admin user password to connect to the SOA server instance. realm The realm of the SOA server instance. migration.file The complete path location of the migration file in which all user-configurable data from the SOA server is exported to or imported from. map.file The full path location of the map file in which all the TaskDefinitionId mappings in the target SOA server are provided. This file enables you to customize the mapping. Note: After specifying the Admin user name, enter the password when prompted. 21-20 Oracle Fusion Middleware Administrators Guide for Oracle SOA Suite and Oracle BPM Suite