I’m trying to generate phone numbers using regex
if the id field is mobile the regex changes.
I’ve tried using a custom formula, but I get an error message
error: Access denied to method gen.
my code is:
if phone_number_id == ‘mobile’ then /324((7|8|9)1)\d{6}/.gen
else /32((1|2|3|4|5|6|7|8|9)1)\d{7}/.gen end