Legacy Dev Forum Posts

 View Only

Sign Up

Convert 10 digit phone number to e164

  • 1.  Convert 10 digit phone number to e164

    Posted 06-05-2025 19:11

    wu_edward | 2021-07-21 04:27:30 UTC | #1

    In Architect, how can I convert let's say "8086433888" to "+18086433888"?

    I tried ToPhoneNumber(Task.phoneNo).e164 but it didn't work. I had to do ToPhoneNumber(Append("+1",Task.phoneNo)).e164. Any other ways?


    Jerome.Saint-Marc | 2021-07-21 11:40:35 UTC | #2

    Hello,

    That's indeed what you have to do.

    +18086433888 is an E.164 number - meaning "+" + country code (1) + subscriber number 8086433888 is just the subscriber number.

    So to obtain an E.164 number from 8086433888, you need to have the country code specified - what you are doing with the Append +1

    Regards,


    system | 2021-08-21 11:40:36 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 11527