Instead of hard coding the number format inside data transform.
Have a DSS and in that maintain the number format.. Invoke this DSS inside data transform. So that after deployment completed in all environment you could change the format based in business need.
Another option is have system setting and inside that based on production level define your number format and invoke the system setting inside data transform. If your going for this approach then after deployment completed you don’t want to update anything manually.
You could find respective environment Production Level value under pxProcess.pzProductionLevel page. This is pega OOTB internal logic value to identify production and non production system.
@Anoop Krishna How to Call Applications setting in Data transform , I can see OOTB Datapage "D_pxGetApplicationSettingValue ", But This Datapage not Avilable in my version 8.3.4.
@kirti You don’t need to call application settings. You can straightaway use pxProcess.pzProductionLevel for your logic if system level system is already been set. Pega system level setting will put prod level value to the clipboard. You can check your clipboard for this value pxProcess.pzProductionLevel, if value is there that means value is been already set.If you don’t find it you will need to set that prod level value to system setting.
pxProcess.pzProductionLevel==2
“Dev” + “–cpc-dev-123”
pxProcess.pzProductionLevel==3
“uat” +“-cpc-Uat-123”
You can set these values to DSS and get it from DSS if you want to avoid hardcoding.