Posts

Showing posts from August, 2022

Using transforms in Dual-Write

Image
Dual writes do have a built-in capability of translating unlike data types to talk to one another. You have a Base enum on FinOps end, which is talking to an PickList type field on a CRM table. Normally if you map this, while saving itself, you will get an error: In order to solve this problem, while adding the map you can click on the '=' sign , select Transform type as 'Value map'. This will let you store the enum value specific defaults as key-value pairs: Now you can keep adding the key value pair of the translation of the mapping to make the system understand which enum value corresponds to what integer value: Save this, come back to mapping screen and save the map. It will now let you save without any issue this time.