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
8 subscribers
Views
6160 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
CDT With Very Very Many Fields
davids735
over 8 years ago
I'm creating a proof of concept with a CDT containing 1352 Text fields to see if there are practical limitations like lag or database writes failing. I was just wondering if anyone had formulated a script for writing the same value to each and every one of a CDT's fields quickly. For instance a rule that took in the CDT and "Steve" or something like that and made every one of the fields "Steve" without me having to manually insert all 1352 "Steve" strings myself.
OriginalPostID-237167
Discussion posts and replies are publicly visible
Parents
0
Aaron Swerdlow-Freed
A Score Level 1
over 8 years ago
If you have a list of the field names, just writing a java app to write the SAIL might be the fastest.
pseudo would be:
for (x, len(list), x++)
{
print "a!save(ri!cdt." + list[x] + ",ri!steve),"
}
Then just copy that into a button or something. You could also easily just make an expression rule with the same concept, this was just an easier example.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Aaron Swerdlow-Freed
A Score Level 1
over 8 years ago
If you have a list of the field names, just writing a java app to write the SAIL might be the fastest.
pseudo would be:
for (x, len(list), x++)
{
print "a!save(ri!cdt." + list[x] + ",ri!steve),"
}
Then just copy that into a button or something. You could also easily just make an expression rule with the same concept, this was just an easier example.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data