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
24 replies
Subscribers
5 subscribers
Views
8615 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I am facing a problem in writing values to multiple data store. What I am trying
zianf
over 7 years ago
I am facing a problem in writing values to multiple data store. What I am trying to do is :
1)I have created an interface with 2 sections. Section 1 stores data in one CDT(emp1) and Section 2 stores data in another CDT(emp2).
2)I have created the process model and have included the ‘Write to multiple data store’ smart service.
The problem I am facing with this is the value under DATA->Output->Results->Storedvalues->targets, when I set the target variable and click on ‘OK’ and check the same node again, the value vanishes.
I need guidance to solve this issue.
processmodel.docx
OriginalPostID-219388
OriginalPostID-219388
Discussion posts and replies are publicly visible
0
zianf
over 7 years ago
The process model gets saved without error..but it does not reach the end node. What could be the problem?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 7 years ago
can you please check and share the alert which you are getting. that will help up to get better clarity on the issue
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jaggu
over 7 years ago
Hi Try below code
{
{
entity:{cons!MD_EMP1},
data:{pv!Emp1_basic}
},
{
entity:{cons!MD_EMP2},
data:{pv!Emp2_add}
}
}
it'll work . Entity and data should be inside curly braces
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
zianf
over 7 years ago
@rajasekharp This is the only alert I could manage to find. I do not specifically get any kind of alert
@jagannathh the curly brace tactics don't work :( . I am still stuck
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 7 years ago
may be the issue is with the assignment. please go to assigment tab in that node and select ' Run as whoever designed this process model'
hope it will solve your problem.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
zianf
over 7 years ago
@rajasekharp This did not work too :(
Under Data->Inputs->ValuetoStore->Value...we give This:
={{entity:{cons!MD_EMP1}, data:{pv!Emp1_basic}},{entity:{cons!MD_EMP2}, data:{pv!Emp2_add}}}
but Under Data->Inputs->ValuetoStore->{+}->Entity/Data
are left as it is right? or do we have to give any values under Values->Entity?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 7 years ago
@zianf up to my knowledge, these kind of problem with occur due to privileges, wrong assignments. but as per your response those are fine.
so the remaining one which i know for getting these kind of issue is because of passing null value in data. even i checked it in my system, with the same kind of input and output configuration which you have given but i didn't faced any issue. later i made the value for data as null and tried. then i am getting same kind of issue which you are getting.
so please check the values in the instance like whether your pv!Emp1_basic and pv!Emp2_add having values are not. for that run the that process model for debugging mode and check or open previous instances in monitor mode and check.
for your understanding please check how i configured in below attachments
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 7 years ago
sorry some more attachments missing in previous comment. those are here
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sagarl511
A Score Level 2
over 7 years ago
@zianf - You can find alerts in Alerts link available in /suite/designer mode at right top corner. You will get a detailed error message and root cause of the node crashing.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Jaggu
over 7 years ago
Hi ,
As Rajasekhar said error occurs if data in the pv!cdt is null. If its not null check the alert that will tell details. If you didn't configure the alert configure alert and check.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<
>