Extracting Workflow User Sets

This topic describes how to extract the workflow user sets from your Oracle CRM On Demand server for your environment; that is, a customer test environment or production environment. The output from the extract is saved to a directory as follows:

.../repository/WorkflowUserSet/WorkflowRuleName.xml

Authenticated users can extract workflow user sets. The ReadForRuleSet operation can read any existing user set even if the authenticated user does not have access to the Analytics object or ScheduledEvent trigger event for the specified workflow.

Syntax

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

migrationtool -u UserID -s ServerURL ReadForRuleSet WorkflowUserSet RecordType TriggerEvent [ParentRecordType]

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 Analytics.

  • TriggerEvent is ScheduledEvent the language-independent code (LIC) for the event type of scheduled event, 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.

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 Extracting Workflow User Sets

The following is an example of extracting the workflow user sets:

migrationtool -u UserID -s ServerURL ReadForRuleSet WorkflowUserSet Analytics ScheduledEvent