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
4523 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Try to use rf!data to show and hide visibilities of related action. rf!data
sushilk872
over 8 years ago
Try to use rf!data to show and hide visibilities of related action.
rf!data is displayed well in record list grid view...However, same check not working in related action visibility field.
check is simple : rf!status.code="PEND" , rf!status.code is displaying in Grid .
let me know what i am doing, if this due to nested cdt or multiple record.
Suggest me workaround.
Thanks
OriginalPostID-221228
OriginalPostID-221228
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 8 years ago
The problem is that your record is service backed and is returning more than 1 item. You can confirm this by editing your rule that generates the record title, which uses the same expression you use to retrieve the record from your web service, and print:
local!data.status
You'll see that the web service is returning something of type
PEND; PEND; PEND; PEND; PEND; PEND; PEND; GRAN; PEND; GRAN
since Appian can only use rf! to map to a single record, it is picking the first result your expression is returning thus resulting in the evaluation of
rf!status.code="PEND"
to be true.
You need to re-design your expression that defines this service backed record to only return one result. Maybe doing a lookup the same way you're doing it to find the right record title.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 8 years ago
The problem is that your record is service backed and is returning more than 1 item. You can confirm this by editing your rule that generates the record title, which uses the same expression you use to retrieve the record from your web service, and print:
local!data.status
You'll see that the web service is returning something of type
PEND; PEND; PEND; PEND; PEND; PEND; PEND; GRAN; PEND; GRAN
since Appian can only use rf! to map to a single record, it is picking the first result your expression is returning thus resulting in the evaluation of
rf!status.code="PEND"
to be true.
You need to re-design your expression that defines this service backed record to only return one result. Maybe doing a lookup the same way you're doing it to find the right record title.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data