[SalesForce] Dynamically update Lightning path (Chevron)

My Lightning/Salesforce Path was displaying the Chevron based on the Case Pick list field which has 15 pick list options. Every Case is unique and doesn't require all the 15 options, how can I make my Chevron dynamic with limited options.

i.e Case 1 needs 5 pick list options out of 15 then I need to show only 5 options in 5 the chevron.

Best Answer

You need to follow these steps to be able to display only relevant picklist information on Path component for particular Case, only when you:

  1. Define Case Record Types
  2. Define available picklist values for each record type
  3. Setup Path for every record type
Related Topic