Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
2236 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, I have created a rule for adding dashes to any 10 digit phone
aswinb
over 10 years ago
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
0
Margaret Haymann
Appian Employee
over 10 years ago
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
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aswinb
over 10 years ago
I am not using Appian 7.5(using 7.4)....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Margaret Haymann
Appian Employee
over 10 years ago
These are also available for 7.4
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aswinb
over 10 years ago
But most of them are for creating UI stuff like reports and grids...I didn't see a one for date.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Margaret Haymann
Appian Employee
over 10 years ago
I was just pointing out that they existed and that there are cool functions already created like the one you created.
There are calendar functions, date functions, display functions... etc
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel