Bookshelf Home | Contents | Index | PDF |
Oracle Migration Tool On Demand Guide > Migrating Assignment Rule Groups and Assignment Rules > Migrating Assignment Rules > Updating or Inserting an Assignment RuleThis topic describes how to use the About the Upsert OperationThe
Oracle CRM On Demand attempts to locate the rules that are specified in the input file based on the user keys. If a match is located, then the rule is updated. If a match is located for both user keys, then the match located for user key 1 takes precedence. If Oracle CRM On Demand cannot locate an assignment rule based on the user keys, then a new rule is created. For each rule, the
NOTE: You must migrate the assignment rule group to which an assignment rule belongs before you migrate the assignment rule. SyntaxThe following is the syntax for using the Oracle Migration Tool On Demand client to update a specific assignment rule (if it exists) or to insert an assignment rule (if it does not exist): migrationtool -u UserID -s ServerURL Upsert AssignmentRule AssignmentRuleXML
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 Updating or Inserting an Assignment RuleThe following is an example of updating an assignment rule (if it exists) or inserting an assignment rule (if it does not exist) in your Oracle CRM On Demand server: migrationtool -u UserID -s ServerURL Upsert AssignmentRule "C:\Oracle Migration Tool On Demand\repository\AssignmentRule\Account\MyAccountRuleGroup\My AssignmentRule1.xml" NOTE: Quotation marks are required only if the path or file name contains spaces. |
Oracle Migration Tool On Demand Guide, Release 38, Rev. A | Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |