Hi All, I have created a rule for adding dashes to any 10 digit phone

Hi All,

I have created a rule for adding dashes to any 10 digit phone number. I thought this might be useful for other programmers who might encounter a similar situation. So just create a rule input(ri!PhoneNumber) of type number(integer) and do the following:

=mid(tostring(ri!PhoneNumber), 1,3)& "-" & mid(tostring(ri!PhoneNumber), 4,3)& "-" & mid(tostring(ri!PhoneNumber), 7,4)...

OriginalPostID-114038

OriginalPostID-114038

  Discussion posts and replies are publicly visible

Parents
  • Aswin have you looked at the rules and constants that the Appian Center of Excellence has provided? Appian Common Objects 7.5 Release 1 Artifacts, Appian Common Objects 7.5 Release 1 Rules and Constants, Appian Common Objects 7.5 Documentation They have provided a lot of common rules. It is available for download on the record for the available version of the Appian software
Reply
  • Aswin have you looked at the rules and constants that the Appian Center of Excellence has provided? Appian Common Objects 7.5 Release 1 Artifacts, Appian Common Objects 7.5 Release 1 Rules and Constants, Appian Common Objects 7.5 Documentation They have provided a lot of common rules. It is available for download on the record for the available version of the Appian software
Children
No Data