![]() |
|
![]() |
|
About Workflow RulesA workflow rule is an instruction to Oracle CRM On Demand to perform one or more actions automatically each time a specified event occurs. About Setting Up Workflow Rules FunctionalityIf you are a new customer, the workflow rules functionality is automatically enabled. However, if you are an existing customer, Customer Care and your company administrator must configure the Oracle CRM On Demand workflow rules functionality:
Trigger Events and Actions on Workflow RulesA workflow rule is evaluated when the event specified on the rule (the trigger event) occurs. If the conditions on the rule are met (or if there are no conditions on the rule), the actions specified on the rule are performed. For example, you can create a workflow rule to specify that when an opportunity is created (the workflow rule trigger event), an email is sent to the opportunity owner's manager (the workflow rule action). You can also specify that the email is sent only if the revenue on the opportunity is in excess of a certain amount (the workflow rule condition), and you can specify the content of the email. You can also configure workflow rules so that actions are performed when a specified period of time has passed, or when a specified date and time is reached. For more information about time-based workflow actions, see About Time-Based Workflow Rules. Workflow rules can be triggered by one of the following:
Workflow rules are configured for a record as a whole, and not for individual fields. There are several types of trigger events for workflow rules, but each workflow rule has only one trigger event. Depending on the trigger event you select for the rule, you can specify that Oracle CRM On Demand is to perform one or more actions automatically when the workflow rule conditions are met. NOTE: After a rule is created, you cannot change the record type or trigger event on the rule. However, you can update the workflow condition. The trigger event for each rule is shown on the Workflow Rules List Page and on the Workflow Rule Detail page. The following table shows the actions that are available for each trigger event.
Three additional workflow actions are available only in Oracle CRM On Demand for Partner Relationship Management:
For more information on these actions and how you can use them, see Oracle CRM On Demand for Partner Relationship Management Configuration Guide, available from the Oracle CRM On Demand documentation library on Oracle Technology Network. Restrictions That Apply to Workflow Rules and Rule ActionsThe following restrictions apply to workflow rules and rule actions:
NOTE: When a workflow rule is triggered by a record association or dissociation action, the integration event created by the workflow can contain fields from both the child record and the parent record. Workflow Rules OrderWhen you create a workflow rule, Oracle CRM On Demand automatically assigns it the next unused order number for rules based on the same record type and the same trigger event. The order number determines the order in which Oracle CRM On Demand invokes the rules that are based on the same record type and the same trigger event. You can later change the order of your rules. For more information about changing the order of workflow rules, see Changing the Order of Workflow Rules. Association and Dissociation Trigger EventsAssociation and dissociation trigger events on workflow rules are supported only for associations between accounts and contacts, and between opportunities and contacts. The actions that are available for association and dissociation trigger events are as follows:
The following table describes the actions that can trigger an association or dissociation workflow rule. It also shows the integration events that are generated by the workflow rule in each case (if an integration event action is configured on the workflow rule). NOTE: Depending on the data in the records, additional integration events can be generated. For example, if a new contact created on an account is the primary contact for the account, an additional (account update) integration event is generated.
Workflow Rule Action FailuresIf a workflow rule action fails to complete, the following happens:
Record Visibility and Workflow ActionsWhen a user performs an action that triggers a workflow rule, some of the actions on the workflow rule can fail if the user’s action resulted in the user losing visibility to the record. For example, you might have a workflow rule that is triggered when a modified account record is saved. If a user who owns an account record reassigns the account to another user, the workflow rule is triggered when the account record is saved. If the original owner of the record no longer has visibility to the account record through any other means, such as team or book membership, then any workflow action that requires access to the account record fails. LatencyWorkflow rules are evaluated in sequence and synchronously. Therefore, until all the rules are evaluated, the overall update operation is not completed. Workflow rules add a certain amount of latency to operations (that is, the time between the start of an operation and its completion). For example, each task created by a workflow rule can add as much as 20% latency to a record update operation. Each email created by a workflow rule adds about 5% latency. Expressions take less time to evaluate. To minimize latency, add mutually exclusive expressions to your workflow conditions. Build your workflow rules incrementally, keeping performance in mind. Click a topic to see step-by-step procedures to do the following:
|
| Published 7/18/2011 | Copyright © 2005, 2011, Oracle. All rights reserved. Legal Notices. |