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
11 replies
Subscribers
10 subscribers
Views
5013 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Hi, I have a record type in which I have set the filters to view the record
chandhinir
over 10 years ago
Hi,
I have a record type in which I have set the filters to view the record based on the logged In User using "in" operator . If there are no records for the user, I am getting the error as "cannot apply "in" operator to the record field".
Please provide suggestions....
OriginalPostID-113124
OriginalPostID-113124
Discussion posts and replies are publicly visible
Parents
0
chandhinir
over 10 years ago
Hi Michael,
Please find the scenario below:
There will be three roles as Executive , Senior Manager and Supervisor.All the three roles can able to create the workflows.If Executive is logged in,the record has to list all the workflows which was created by three roles.If Senior Manager is logged In,only the workflows which belongs to his region has to be displayed . If Supervisor is logged in, then only his workflows has to be displayed in the records.
Suppose if the Supervisor does not create any workflows, then the result will be empty. In this case, the "in" operator throws an error.
My Expression will be like this:
Record Field: workflowID
Operator in
value: rule!displayWorkflowsbasedOnRole(loggedinUser())
Thanks,
Chandhini R
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
chandhinir
over 10 years ago
Hi Michael,
Please find the scenario below:
There will be three roles as Executive , Senior Manager and Supervisor.All the three roles can able to create the workflows.If Executive is logged in,the record has to list all the workflows which was created by three roles.If Senior Manager is logged In,only the workflows which belongs to his region has to be displayed . If Supervisor is logged in, then only his workflows has to be displayed in the records.
Suppose if the Supervisor does not create any workflows, then the result will be empty. In this case, the "in" operator throws an error.
My Expression will be like this:
Record Field: workflowID
Operator in
value: rule!displayWorkflowsbasedOnRole(loggedinUser())
Thanks,
Chandhini R
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data