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
5 replies
Subscribers
8 subscribers
Views
5198 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Nested CDT and type() function
georgej
over 8 years ago
Hi Team,
I have defined a CDT by importing XSD. There are some complex types defined and appropriate references are given in XSD to define the type. When I try to do type!mynestedCDT() --This element refers to another complex type , is returning invalid data type ,although I am able to see them properly defined in the Data Management tab
OriginalPostID-261026
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 8 years ago
If you're looking to define the value of a nested CDT within a type constructor, The correct format is:
type!myParentCDT(
aTextField: "Some value",
anIntegerField: 12345,
myChildCDT: type!myChildCDT(
aDecimalField: 12345.67
)
)
...where "myChildCDT" is the name given to the reference to type!myChildCDT within the parent CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 8 years ago
If you're looking to define the value of a nested CDT within a type constructor, The correct format is:
type!myParentCDT(
aTextField: "Some value",
anIntegerField: 12345,
myChildCDT: type!myChildCDT(
aDecimalField: 12345.67
)
)
...where "myChildCDT" is the name given to the reference to type!myChildCDT within the parent CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data