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
11 subscribers
Views
4959 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
Michael Tan
Appian Employee
over 10 years ago
Thanks for testing that. I misread the problem initially. Can you confirm that the issue is occurring under the scenario that this expression evaluates to true:
contains(ri!roleID,cons!GWF_SUPERVISOR_ROLE_ID)
but the following expression does not yield any results:
rule!GWF_getWorkflowsByWfTypeAndOwner(upper(cons!GWF_TYPE_WORKFLOW),ri!owner,cons!GWF_ACTIVE_FLAG_VALUE).gwfWfSk
Essentially, you need to make sure that your local owners variable is still initialized as an array of the same type your record field, workflowID.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Michael Tan
Appian Employee
over 10 years ago
Thanks for testing that. I misread the problem initially. Can you confirm that the issue is occurring under the scenario that this expression evaluates to true:
contains(ri!roleID,cons!GWF_SUPERVISOR_ROLE_ID)
but the following expression does not yield any results:
rule!GWF_getWorkflowsByWfTypeAndOwner(upper(cons!GWF_TYPE_WORKFLOW),ri!owner,cons!GWF_ACTIVE_FLAG_VALUE).gwfWfSk
Essentially, you need to make sure that your local owners variable is still initialized as an array of the same type your record field, workflowID.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data