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, a post-event rule, or a scheduled event. 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 the workflow actions on those rules.

Type of Error

Outcome

What is Reported in the Workflow Error Monitor

Syntax 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.
  • 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 on which the error was found, along with details of the error.

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

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 the workflow actions on those rules.

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 workflow 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 the rule was triggered by a delete operation, then the record is deleted.
  • If the rule was triggered by an update operation, then the updated record is saved, unless the Cancel Save check box is selected on the workflow rule.

    If the Cancel Save check box is selected on the workflow rule, then the update operation that triggered the workflow rule is canceled in the same way that an update operation is canceled if the condition on the rule is not met. For details of what happens when an update operation is canceled by the workflow Cancel Save functionality, see Canceling Workflow Save Operations.

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

Semantic error in a workflow action

  • If any Update Values actions or Create Integration Event actions on the workflow rule were already performed, then those actions are rolled back. Any remaining actions on the workflow rule are not performed.

    NOTE: If any Create Task actions or Send Email actions were already performed, then those actions are not rolled back.

  • 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

Scheduled Event and Workflow Action Failures

The following table describes the outcome for errors that occur in scheduled events and the workflow actions on those scheduled events.

Type of Error

Outcome

What is Reported in the Workflow Error Monitor

Syntax error in a workflow action

  • The workflow action fails for each record in the list.
  • An instance is reported in the Workflow Error Monitor for each failure.
  • If other actions exist on the scheduled event, then those actions are performed.
  • The failure of the workflow action does not prevent the generation of a pending instance for the next scheduled occurrence of the event.

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

Semantic error in a workflow action

  • The workflow action fails for each record in the list.
  • An instance is reported in the Workflow Error Monitor for each failure.
  • If other actions exist on the scheduled event, then those actions are performed.
  • The failure of the workflow action does not prevent the generation of a pending instance for the next scheduled occurrence of the event.

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

The number of records returned in the list specified on the scheduled event exceeds the maximum number allowed.

  • None of the actions on the scheduled event are performed for any record in the list.
  • The failure is reported in the Workflow Error Monitor. A single instance is reported.
  • The failure does not prevent the generation of a pending instance for the next scheduled occurrence of the event.

Details of the scheduled event that failed, along with details of the error.

The user who made the scheduled event active does not have access to the list specified on the scheduled event.

  • None of the actions on the scheduled event are performed for any record in the list.
  • The failure is reported in the Workflow Error Monitor. A single instance is reported.
  • The failure does not prevent the generation of a pending instance for the next scheduled occurrence of the event.

Details of the scheduled event that failed, along with details of the error.

Any other error in a workflow action

  • The workflow action fails for each record in the list.
  • An instance is reported in the Workflow Error Monitor for each failure.
  • If other actions exist on the scheduled event, then those actions are performed.
  • The failure of the workflow action does not prevent the generation of a pending instance for the next scheduled occurrence of the event.

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

NOTE: After an instance of a scheduled event fails, another instance is generated for the next scheduled occurrence of the event. You cannot resubmit a failed instance.


Published 7/3/2018 Copyright © 2005, 2018, Oracle. All rights reserved. Legal Notices.