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
10 subscribers
Views
5118 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
While in the process of updating a CDT, instead of replacing the value in the fi
karlaw
over 11 years ago
While in the process of updating a CDT, instead of replacing the value in the field, the process is overwriting just the text that changed. Example:
Initial data in the pv: Pending Load
Replacement value should be: Active
What actually loaded to the database: Activeg Load
What would cause this type of action? We have the node configured the same as many other nodes using save at index length(array.column)...
OriginalPostID-81035
OriginalPostID-81035
Discussion posts and replies are publicly visible
0
sikhivahans
over 11 years ago
hi karlaw, is your node an MNI?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
karlaw
over 11 years ago
no..it is a script node with a write to database node that resides in a subprocess that is created using MNI
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vahedullas1000
A Score Level 1
over 6 years ago
Hi Karlaw, How are you updating the CDT.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harrisont606
over 6 years ago
can you show your exact expressions?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
josep
Certified Lead Developer
over 6 years ago
Hello Karlaw,
That’s seems weird and interesting, can you show the actual code?
I have Some questions.
1) are you using the save at index just to store in the same list, does it needs to be ordered?
Have you tried the append ? Is it an option Instead of “save at index”? Are you passing anything as reference ?
2) Regarding What you have been explaining: everything happens inside an MNI node?, is the MNI sharing an array ?
3) Another test to do is to pass the tp!instanceIndex to and concatenate to the something like “act”&tp!InstanceindexVar
Let’s say you have the value of tp!instanceIndexVar:28
If this still happened then you should see instead of “Activeg Load” something like “act28ng Load” the idea is this test if that gives you the same number always.
4) for the sake of testing have you tried to spawn the MNI one after another?
Hope this helps
Jose
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel