![]() |
|
ExcludeChannelThe ExcludeChannel function in Expression Builder returns FALSE if the specified channel name is the channel that the request came from. SyntaxExcludeChannel(channel name) Result TypeBoolean ArgumentsThe following table describes the arguments for the function.
The following table describes the valid strings for use in the channel name argument. The strings are case-sensitive.
ExamplesThe following example stops a process from being triggered by a Web service request: ExcludeChannel("Web Services") The following example stops a process from being triggered by an import operation or Oracle Data Loader On Demand: ExcludeChannel("Import") Example of Allowing Specified Online UpdatesWhen the Online channel string is specified with the ExcludeChannel function, updates from the following channels are prevented:
If you want to allow updates from REST API calls, or the Mass Update functionality, or record merges, but you want to prevent updates from other user interactions in browser windows, then use the IIF function with the ExcludeChannel function to specify the online channels that you want to allow. For example, to allow updates to account records by REST API calls and prevent updates to account records from user interactions in browser windows, including the Mass Update functionality and record merges, you can create a workflow rule with the following configuration:
This workflow rule allows updates from all channels that are not prevented by the Online channel string, such as Web services and the import functionality, as well as updates from REST API calls. NOTE: When combining the ExcludeChannel function with another function as shown in this example, remember that the ExcludeChannel function returns a FALSE value if the specified channel name is the channel that the request came from. Related TopicsSee the following topics for related Expression Builder information: |
Published 5/23/2022 | Copyright © 2005, 2022, Oracle and/or its affiliates. Legal Notices. |