Hi, I faced the same issue.
With my knowledge you cannot do this from UI, but I used a workaround using Postgresql capabilities. This is what I did since CMDB 2.5:
a. define a Postgres sequence i.e. my_seq
b. define a trigger function on the class you need that handle the myseq to build the value you want. i.e. if you want a unique Code like PR-YYMM9999
vCodice = RIGHT(to_char(EXTRACT(YEAR FROM now()),‘0000’),2) || RIGHT(to_char(EXTRACT(MONTH FROM now()),‘0000’),2) || (select lpad(nextval(‘my_seq’)::varchar, 4, ‘0’));
NEW.“Code” = ‘PR-’ || vCodice;