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

Extracting All Assignment Rules for a Single Rule Group


This topic describes how to extract all assignment rules for a single rule group from the Oracle CRM On Demand server for your environment; that is, a customer test environment or production environment.

Syntax

The following is the syntax for using the Oracle Migration Tool On Demand client to extract all assignment rules for a single rule group:

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

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 rules apply, 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 ("").
  • RuleGroupName is the name of the rule group to which the rule belongs.

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

Example of Extracting All Assignment Rules for a Single Rule Group

The following is an example of extracting all assignment rules for a single rule group:

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

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.

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