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

Deleting a Workflow Rule Set


This topic describes how to delete a workflow rule set based on the specified record type and trigger event. The set of workflow rules is deleted from your Oracle CRM On Demand server for your environment; that is, a customer test environment or production environment.

NOTE:  The Delete operation can delete any existing workflow rule set even if the authenticated user does not have access to the object.

Syntax

The following is the syntax for using the Oracle Migration Tool On Demand client to delete a workflow rule set:

migrationtool -u UserID -s ServerURL Delete WorkflowRuleSet RecordType TriggerEvent [ParentRecordType] [WorkflowName]

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.
  • RecordType is the system name of the Oracle CRM On Demand record type (object) for the workflow rule. If the string contains spaces, then it must be enclosed with quotation marks.
  • TriggerEvent is the language independent code (LIC) for the event type, see Table 53.
  • ParentRecordType is the system name of the Oracle CRM On Demand parent record type (object). If the string contains spaces, then it must be enclosed with quotation marks.
  • WorkflowName is the name of the Oracle CRM On Demand workflow rule. You can delete an individual workflow rule by specifying a value for the WorkflowName parameter.

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 Deleting a Workflow Rule Set

The following is an example of deleting the entire sequence of workflow rules based on the Account record type and the Before Modified Record Saved trigger event:

migrationtool -u UserID -s ServerURL Delete WorkflowRuleSet Account PreWriteRecord

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