The current approach relies on segment_id for all triggers. However, we aim to display segment_name on the frontend interface. Therefore, we need a solution to retrieve a dictionary mapping between segment_id and segment_name. This way, we can successfully display segment_name on the screen.
The current approach relies on
segment_id
for all triggers. However, we aim to displaysegment_name
on the frontend interface. Therefore, we need a solution to retrieve a dictionary mapping betweensegment_id
andsegment_name
. This way, we can successfully displaysegment_name
on the screen.