We have partners that are only allowed to install certain products based on criteria set on their account record. The criteria is set programmatically in a text field which results in a comma separated string. We want to only display products via a model condition on the product model where the product type (picklist) on a product record contains one of the values set in the string. Is there a way to do this? I’m able to get it to work if the string only contains one value but if it contains two or more, nothing is returned in the product table…
Here’s a bit more color:
Installer X can install product types A & B
Installer Y can install product types B & C
Installer Z can only install product type A
Product type is set on the product record in a picklist and each product only has one type (A, B, or C)
So when Installer X is the partner on an Opportunity (via related lookup) our rep should only see products A and B in the product table.
I’m open to switching the product type on the Account to a multi-select picklist but I know those are troublesome as well.
Appreciate any insight.
-M
Question
Set model condition based on comma separated string
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.