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
6 replies
Subscribers
7 subscribers
Views
2408 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
I have a cdt which have two fields [field1=,field2=150],[field1=230,
Dharsana
Certified Senior Developer
over 9 years ago
I have a cdt which have two fields
[field1=,field2=150],[field1=230,field2=],[field1=23,field2=]
Either field1 or field2 will have a value in each record. I need to Check which field is not empty and display in the single column of the grid.
Please help
OriginalPostID-179377
OriginalPostID-179377
Discussion posts and replies are publicly visible
Parents
0
srinivasulup
Certified Lead Developer
over 9 years ago
fn!apply(rule!customRule(_), ri!array)
customRule:
fn!if(
fn!isnull(
ri!array.field1
),
ri!array.field2,
ri!array.field1
)
This gives you an array and map the same to the grid field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
srinivasulup
Certified Lead Developer
over 9 years ago
fn!apply(rule!customRule(_), ri!array)
customRule:
fn!if(
fn!isnull(
ri!array.field1
),
ri!array.field2,
ri!array.field1
)
This gives you an array and map the same to the grid field.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data