If you need to replicate INCLUDES()
in a flow or if you're willing to create a text field that stores a copy of the multi-select picklist field value, you can use the following strategy. (I've only tested in flow, but should work with custom fields too.)
- In a flow, directly assign the multi-select picklist value to a text variable using the
Assignment
element, or outside of flow, copy the multi-select picklist value to a custom text field using automation, like Workflow Rule, Process Builder, or Flow.
- In a flow, create a Boolean
Formula
using the below, or outside of flow, create a checkbox formula field using the below. (since multi-select picklists store the list as a semicolon-delimited string, the formula goes through the various scenarios in which an item could appear)
IF(ISBLANK({!Multi_Select_Field_Copy}), FALSE,
IF(!CONTAINS({!Multi_Select_Field_Copy}, ";"), {!Multi_Select_Field_Copy} = {!Merge_Field},
IF(CONTAINS({!Multi_Select_Field_Copy}, {!Merge_Field} + ";") || CONTAINS({!Multi_Select_Field_Copy}, ";" + {!Merge_Field}), TRUE,
FALSE)))
- Reference the boolean/checkbox formula created in Step 2 to determine whether your multi-select picklist field includes the value defined in the merge field.