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.
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 Language-Independent Codes for Trigger Events.
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.
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