function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Visual Workflow Unique Values

I am creating a dependent picklist in visual workflow using dynamic choice elements. The data source for picklists is a custom object field. The dependent values are stored as fields and the data is denormalized to represent the dependencies between the fields. Based on the dependencies and table structure, when I fetch values for the first dependent element, I am getting duplicate values as it is in the database. Any way to fetch only the unique values using visual workflow

You could verify the value is not already known to you when you do the Record Lookup by comparing the new value to existing values.