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
17 replies
Subscribers
7 subscribers
Views
7893 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi All, I have a CDT rule input of type "Any Type" called r
aswinb
over 11 years ago
Hi All,
I have a CDT rule input of type "Any Type" called ri!companyContact. I am trying to pass this rule input to a textField's value field. There is a nested CDT inside this CDT. I am actually trying to store the value into one of those fields inside the inner CDT. But it is giving an error saying "Cannot index property "CompanyContactDetails" of type Text into type Text" where inner CDT is called "CompanyContactDetails".
This is the code:
a!textField(
label:"",
value: ri!companyContact.CompanyContactDetails.DetailTypeId,
saveInto: ri!companyContact.CompanyContactDetails.DetailTypeId
)
Can anybody help on this issue?...
OriginalPostID-107781
OriginalPostID-107781
Discussion posts and replies are publicly visible
Parents
0
aswinb
over 11 years ago
the thing is I am taken this rule outside and testing it by itself. RIght now I am not mapping it into any ac's or pv's. I am trying to test it out in an expression editor and it works if I just put the CDT name itself in the value and saveInto fields. But whenever I put a dot operator and the inner CDT name, that's when it complains. I thought if you have a rule input of type anytype it can expect a dot operator.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aswinb
over 11 years ago
the thing is I am taken this rule outside and testing it by itself. RIght now I am not mapping it into any ac's or pv's. I am trying to test it out in an expression editor and it works if I just put the CDT name itself in the value and saveInto fields. But whenever I put a dot operator and the inner CDT name, that's when it complains. I thought if you have a rule input of type anytype it can expect a dot operator.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data