Вы находитесь здесь:
содержит
Проверка строки или списка на наличие указанного значения в Salesforce Spiff. Данная функция возвращает true или false.
Вы находитесь здесь:
Проверка строки или списка на наличие указанного значения в Salesforce Spiff. Данная функция возвращает true или false.
| Доступно в версиях: Salesforce Classic (недоступно во всех организациях) и Lightning Experience. |
| Доступно в версиях: Enterprise Edition, Unlimited Edition и Developer Edition. |
| Доступно за дополнительную плату в версиях: Профессиональная версия с включенным API веб-служб |
contains(string_or_list, search_value)| Аргумент | Обязательно? | Описание |
|---|---|---|
| string_or_list | Обязательное | Строка, список строк или список искомых чисел. |
| search_value | Обязательное | Строка или номер для поиска. Заключите значения строк в двойные кавычки. |
Превратите список ClosedByRepInPeriod в список элементов с функцией transform_list() и проверьте, содержит ли список строку «Виджеты». Чтобы также проверить, возвращает ли функция значение, заключите функцию в оператор if(), возвращающий 1 или 0.
=if(contains(transform_list(ClosedByRepInPeriod, Item__c), "Widgets") = true, 1, 0)Эта формула может помочь избежать выплат, если период выписки содержит слово «виджеты».

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.