Oracle Migration Tool On Demand Guide > Migrating Workflow Rules and Action Sets > Migrating Workflow Rules >

Extracting All Workflow Rule Sets


This topic describes how to extract all workflow rule sets from your Oracle CRM On Demand environment; that is, a customer test environment or production environment. The output from the extract is saved to the TriggerEvent.xml file in the following directory:

  • If the ParentRecordType parameter has an empty value, then the output is saved to the following directory:

    migration tool install/repository/WorkflowRuleSet/RecordType

  • If the ParentRecordType parameter does not have an empty value, then the output is saved to the following directory:

    migration tool install/repository/WorkflowRuleSet/RecordType/ParentRecordType

The number of records returned is not limited for the ReadAll command. If the workflow rule set has multiple parent record types, then only the relative order changes. You must correct this error by using the workflow functionality of Oracle CRM On Demand.

Syntax

The following is the syntax for using the Oracle Migration Tool On Demand client to extract all workflow rule sets:

migrationtool -u UserID -s ServerURL ReadAll WorkflowRuleSet

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.

NOTE:  The Oracle Migration Tool On Demand client requests your Oracle CRM On Demand password, which can be redirected (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 All Workflow Rule Sets

The following is an example of extracting all workflow rule sets from your Oracle CRM On Demand server:

migrationtool -u UserID -s ServerURL ReadAll WorkflowRuleSet

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