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
+1
person also asked this
people also asked this
Replies
4 replies
Subscribers
7 subscribers
Views
3287 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Are there any plans to provide some sort of debugging tools for Appian expressio
marks
over 11 years ago
Are there any plans to provide some sort of debugging tools for Appian expressions? I am spending days debugging each expression for a report. It would be great if I could see, step by step, how the expression worked. It would also be great to see where a parenthesis or comma is missing, rather than a general statement about it....
OriginalPostID-77423
OriginalPostID-77423
Discussion posts and replies are publicly visible
0
Alex Weller
Appian Employee
over 11 years ago
Mark, when writing/modifying expressions, I like to use the "create an expression rule" interface and an advanced text editor. This way I can unit test pieces of my expression and build it up from the inside out. Some text editors can also be configured to help you identify parenthesis pairs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
marks
over 11 years ago
I'm already using both. The expression rule interface only confirms that the right number of parts are used for a function and that the parenthesis match. The text editor allows me to match up the parenthesis, but obviously has no idea if the expression is actually valid. I also create temporary columns in a report to test specific parts of an expression, but there are too many cases where an expression part won't work on its own, forcing me to debug the whole thing.
The ability to actually run an expression step by step would be a huge help--and something that most modern programming packages have.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harrison.touati
Appian Employee
over 11 years ago
Mark, is your sail expression in a rule? Usually the error message will display which line of the rule the error is taking place in. This can be helpful for finding the source of your error.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
marks
over 11 years ago
They aren't SAIL expressions--they are portal report expressions. After we spent a few weeks trying to figure it out on our own, we've decided to hold off on Tempo Records/Reports until we go to formal training.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel