Mapping integer to a string in a table column

How do I replace integer values of a column with a corresponding text.

We have a use case where an integer column represents a state, these state can be mapped to a string name. Instead of displaying a state We want to display a text using a map.

Map = {1: ‘Created’, 2:‘Pending’, 3:‘Done’}
cell value = 1, text to display in column = Created

We tried using transformer and mapper but how do we access the cell value in a transformer. Please help or share any references if any

@alex-w Can you help with this issue ?

Hey there @jainendra-chg! You can access the cell value in a mapper with self. So you could try something like {{ {1: ‘Created’, 2:‘Pending’, 3:‘Done’}[self] }}