Hi Jeff
Another way of achieving what you've got with your subsring function to get the E164 is to use the additional properties on the ANI - something like:
ToString(ToPhoneNumber(Call.Ani).e164)
https://help.mypurecloud.com/articles/about-the-phone-number-data-type/------------------------------
Vaun McCarthy
------------------------------
Original Message:
Sent: 08-14-2022 19:58
From: Jeffrey Hoogkamer
Subject: Looking for example flow that checks a data table for ANI and returns values based on ANI match
Hey Brenda,
We're using a lookup for our known 'abusive callers' numbers and have them loaded in a Data Table in the E.164 format

In Architect, the ANI that's available will be formatted with either 'sip:' or 'tel:' as the first four digits.
So we strip off the first four digits of the ANI before doing the data table lookup in the E.164 format.

Hope that helps!
Cheers,
Jeff
Original Message:
Sent: 08-12-2022 14:26
From: Brenda Wynne
Subject: Looking for example flow that checks a data table for ANI and returns values based on ANI match
I know this has to be fairly simple, but I guess my brain is on vacation this week!
#ArchitectureandDesign
------------------------------
Brenda Wynne
Alcon Vision LLC
------------------------------