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
7 replies
Subscribers
5 subscribers
Views
2328 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
36145 - no subject - I am using integer values in a status fi
moritzw
over 11 years ago
I am using integer values in a status field in my process. I want to show the user the matching text in the report. To be able to have it in multiple languages I am reading the value from a properties file. My expression looks like this: =index(split(rule!TOMM_TranslateKey("app.tomm.status.array"),";"),pv!status_int,1)
This is working fine in the process instance dashboard, but is not showing anything in a report. Are there limitations on what to use in an expression rule of a report?...
OriginalPostID-36145
Discussion posts and replies are publicly visible
0
moritzw
over 11 years ago
PS.: the rule I am calling is using the loggedinuser() function. Is that not working on reports?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 11 years ago
Are you getting any errors in the logs when loading the report with the rule? Maybe you can up the logging level on your plugin?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Michael Tan
Appian Employee
over 11 years ago
Moritz,
The loggedinuser function can not be used in a report, as it is one of the restricted functions (Appian Scripting Functions). See more here on this restriction:
forum.appian.com/.../Appian_Scripting_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
david.macaulay
over 11 years ago
Michael, are you saying that we cannot or should not use the loggedinuser function in a report? I have this in a report and it's working fine in our dev environment.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Nathan
over 11 years ago
I do this too... re: loggedinuser() to filter reports
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 11 years ago
I did a test and can confirm that the loggedinuser() function is working. It seems the function it's not calling correctly is the custom expression function I am using.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Michael Tan
Appian Employee
over 11 years ago
Some Appian scripting functions can work, but as many other Appian Scripting Functions (and custom java functions) do not work in reports they are lumped together and are not recommended for use in defining report columns.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel