Oracle Migration Tool On Demand Guide > Migrating Assignment Rule Groups and Assignment Rules > Migrating Assignment Rules >

Extracting a Single Assignment Rule


This topic describes how to extract a single assignment rule from the Oracle CRM On Demand server for your environment; that is, a customer test environment or production environment. The output from the extract is saved to a file and directory as follows:

migration tool install/repository/AssignmentRule/RecordType/AssignmentRuleGroupName/AssignmentRuleName.xml

Syntax

The following is the syntax for using the Oracle Migration Tool On Demand client to extract a specific assignment rule:

migrationtool -u UserID -s ServerURL Read AssignmentRule [SystemNameOfObject] [RuleGroupName] RuleName

where:

  • UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
  • ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
  • SystemNameOfObject is the system name of the object (record type) to which the assignment rule applies, for example, Account. The system names for the record types are listed in System Names for Record Types. If you do not specify the record type, then you must specify an empty value for the SystemNameOfObect parameter. An empty value is specified as a set of double quotation marks ("").

    NOTE:  Assignment rule groups are supported only for the Account, Lead, Opportunity, and Service Request record types.

  • RuleGroupName is the name of the rule group to which the rule belongs. If you do not specify the rule group name, then you must specify an empty value for the RuleGroupName parameter. An empty value is specified as a set of double quotation marks ("").
  • RuleName is the name of the rule that you want to extract.

NOTE:  The Oracle Migration Tool On Demand client requests your Oracle CRM On Demand password, which can be redirected (by using the pipe command) to the client program from standard input; that is, from a file, from the command line, or from another program.

Example of Extracting a Single Assignment Rule

The following is an example of extracting a specific assignment rule:

migrationtool -u UserID -s ServerURL Read AssignmentRule Account "My Assignment Rule Group" MyAssignmentRule

NOTE:  If the object name contains spaces, then it must be enclosed with quotation marks. Similarly, if the assignment rule group name contains spaces, then it must be enclosed with quotation marks, and if the assignment rule name contains spaces, then it must be enclosed with quotation marks.

Oracle Migration Tool On Demand Guide, Release 33 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.