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
2 replies
Subscribers
4 subscribers
Views
1525 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have a data store with a key field which has the @Id and @GeneratedValue annot
prestonb
over 10 years ago
I have a data store with a key field which has the @Id and @GeneratedValue annotations. So I populate a CDT, leave the key field blank, and do a Write to Datastore. This inserts a new row in the database, which is good! However, how do I make the Process aware of what key value was assigned to that row? ...
OriginalPostID-98356
OriginalPostID-98356
Discussion posts and replies are publicly visible
0
evan.rust
Appian Employee
over 10 years ago
On the output of your Write to Datastore node, store the ac!storedValues back into your CDT. The cdt.id field will contain your key.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
prestonb
over 10 years ago
That did it! Thanks!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel