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
4 replies
Subscribers
6 subscribers
Views
2004 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am having problems copying a CDT array into an CDT array that is in a CDT. It
briank538
over 8 years ago
I am having problems copying a CDT array into an CDT array that is in a CDT. It seems to only copy the integer values, but no text values. Very strange. I tried the "store" option as well as "append" and both have same results.
Anyone seen this?
OriginalPostID-170459
OriginalPostID-170459
Discussion posts and replies are publicly visible
0
vineeta6579
over 8 years ago
Are you mapping individual fields from source to target CDT using script task!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
briank538
over 8 years ago
No. I'm copying an entire CDT array to a CDT array that is inside another CDT pv that is not an array.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
briank538
over 8 years ago
Actually, inside a script task, I use an activity class variable of a CDT type in the custom input tab. I fill values individually to that activity class variable, then in the output tab I append that activity class variable to the CDT array pv. That works fine.
But, if I append that activity class CDT variable to a CDT which has the exact same array CDT type field, the copy succeeds, but only the integer values are copied but not the text types of fields. Strange.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vineeta6579
over 8 years ago
Can you please attach the cdts structure and mapping screenshot.
"CDT array that is inside another CDT pv that is not an array" ->Are you trying to say that target CDT is nested type (see the attachment) and you want to copy location data (another CDT with similar structure) to company CDT type .
Any specific reason why you are using "activity class variable" of script task for it. You should use 'outputs' tab of script task for data mapping.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel