Print      Open PDF Version of Online Help


Previous Topic

Next Topic

About Workflow Rule and Workflow Action Failures

The behavior that you see when a workflow rule or a workflow rule action fails depends on the following:

  • Whether the workflow rule is a pre-event rule or a post-event rule. This is determined by the trigger event on the workflow rule. For more information about trigger events, see About Workflow Rules.
  • The type of error that causes the workflow rule or action to fail.

The following are some examples of errors that can cause a workflow rule or a workflow action to fail:

  • A syntax error in an expression in a workflow rule condition or in a workflow action. Some syntax errors cannot be found by Expression Builder when a workflow rule or action is created.
  • A semantic error in an expression in a workflow rule condition or in a workflow action. The following are examples of semantic errors that can occur:
    • A field in the expression cannot be identified by Oracle CRM On Demand because the integration tag for the field was changed after the workflow rule or workflow action was created.
    • An invalid value is specified for a picklist field in the expression.

Post-Event Workflow Rule and Workflow Action Failures

The following table describes the outcome for errors that occur in post-event workflow rules and workflow rule actions.

Type of Error

Outcome

What is Reported in the Workflow Error Monitor

Syntax error in a workflow rule condition or a workflow action

  • None of the actions on the workflow rule are performed.
  • The failure is reported in the Workflow Error Monitor.
  • None of the workflow rules configured for the same record type and trigger event are triggered.
  • The operation that triggered the workflow rule is not affected by the failure of the rule.

Details of the workflow rule or the worfklow action that contains the first syntax error that was encountered, along with details of the error.

Semantic error in a workflow rule condition

  • None of the actions on the workflow rule are performed.
  • The failure is reported in the Workflow Error Monitor.
  • If any other workflow rules exist for the same record type and trigger event, then those rules are triggered and the actions on those rules are performed.
  • The operation that triggered the workflow rule is not affected by the failure of the rule.

Details of the workflow rule on which the error was found, along with details of the error.

Semantic error in a workflow action

  • The workflow action fails.
  • The failure is reported in the Workflow Error Monitor.
  • If other actions exist on the workflow rule, then those actions are performed.
  • If any other workflow rules exist for the same record type and trigger event, then those rules are triggered and the actions on those rules are performed.
  • The operation that triggered the workflow rule is not affected by the failure of the workflow action.

Details of the workflow action on which the error was found, along with details of the error.

Any other error in a workflow action

  • The workflow action fails.
  • The failure is reported in the Workflow Error Monitor.
  • If other actions exist on the workflow rule, then those actions are performed.
  • If any other workflow rules exist for the same record type and trigger event, then those rules are triggered and the actions on those rules are performed.
  • The operation that triggered the workflow rule is not affected by the failure of the workflow action.

Details of the workflow action that failed, along with details of the error.

Pre-Event Workflow Rule and Workflow Action Failures

The following table describes the outcome for errors that occur in pre-event workflow rules and workflow actions.

Type of Error

Outcome

What is Shown in the Workflow Error Monitor

Syntax error in a workflow rule condition or a workflow action

  • None of the actions on the workflow rule are performed.
  • The failure is reported in the Workflow Error Monitor.
  • None of the workflow rules configured for the same record type and trigger event are triggered.
  • The operation that triggered the workflow rule is not affected by the failure of the rule.

Details of the workflow rule or the worfklow action that contains the first syntax error that was encountered, along with details of the error.

Semantic error in a workflow rule condition

  • None of the actions on the workflow rule are performed.
  • The error is reported back to the user whose action triggered the workflow rule. If the workflow rule was triggered by a Web service, then the failure of the workflow action is reported in the response to the Web service.
  • The operation that triggered the rule is blocked.

Not applicable

Semantic error in a workflow action

  • If any of the actions on the workflow rule were already performed, then those actions are rolled back. Any remaining actions on the workflow rule are not performed.
  • The error is reported back to the user whose action triggered the workflow rule. If the workflow rule was triggered by a Web service, then the failure of the workflow action is reported in the response to the Web service.
  • The operation that triggered the rule is blocked.

Not applicable

Any other error in a workflow action

  • None of the remaining actions on the workflow rule are performed.
  • The error is reported back to the user whose action triggered the workflow rule. If the workflow rule was triggered by a Web service, then the failure of the workflow action is reported in the response to the Web service.
  • The operation that triggered the rule is blocked.

Not applicable


Published 1/9/2017 Copyright © 2005, 2017, Oracle. All rights reserved. Legal Notices.