Free cookie consent management tool by TermsFeed reject() Function
reject() Function


reject( predicate, list, context )

Calls a predicate for each item in a list, rejects any items for which the returned value is true, and returns all remaining items.


Keyword Type Description


Function, Rule, or Data Type Constructor

Expression that returns a Boolean (true or false).


Any Type Array

List of elements that the predicate iterates through.


Any Type Array

Variable number of parameters passed directly into each function evaluation.


Any Type Array

Usage considerations

Referencing expressions and rules

Use fn!functionName to reference an expression function and rule!ruleName to reference a rule.

Limitations and alternatives

a!forEach() cannot be used within rules used in this function.


reject(fn!isnull, {1, null(), 3}) returns 1, 3

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Compatible
Process Reports Incompatible

You cannot use this function to configure a process report.

Process Events Incompatible

You cannot use this function to configure a process event node, such as a start event or timer event.

Open in Github Built: Thu, May 23, 2024 (08:46:51 PM)

reject() Function