Generate referral Code

Hi,
Is there a way to generate a referral code wherein the first four digits are from users name and next four digits from users phone number or date and month of birth?

Hi @Ankur - you can have a workflow do something similar to below. CombinedNameNumber is a data field in User of type text. Hope this helps.

image

2 Likes

Yeah thanks! That works perfectly as desired.
One point worth mentioning, the ‘truncated to’ option doesn’t work if the content format is set to integer, it works when you make it text(number only).

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.