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
7 subscribers
Views
2355 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
rule!xyz: if(origcdt.firstname = changecdt.firstname, {},"firstname compare
jegadeeswaran
over 9 years ago
rule!xyz: if(origcdt.firstname = changecdt.firstname, {},"firstname compare fail")
rule!xyz(origcdt, changecdt)
origcdtList: {origcdt1,origcdt2,origcdt3}
changecdtList: {changecdt1,changecdt2,changecdt3}
Below rule:
apply(rule!xyz, merge(origcdtlist,changecdtlist))
Am not getting expected result. Please assist on this and did anyone faced the simillar issue.
OriginalPostID-144083
OriginalPostID-144083
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 9 years ago
It would have been simpler to have a rule with inputs of origFirstName and changedLastName, and then do something like apply(fn!xyz,merge(origCdt.firstName,changeCdt.firstName)) - assuming the arrays are the same length.
I suggest you read the documentation carefully for fn!merge (it doesn't simply append the arrays together) - as well as for fn!apply, giving particular attention to the difference between the array and context inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 9 years ago
It would have been simpler to have a rule with inputs of origFirstName and changedLastName, and then do something like apply(fn!xyz,merge(origCdt.firstName,changeCdt.firstName)) - assuming the arrays are the same length.
I suggest you read the documentation carefully for fn!merge (it doesn't simply append the arrays together) - as well as for fn!apply, giving particular attention to the difference between the array and context inputs.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data