Hi all,We are using record type PVs in our process model and passing the same to user input task. In the task, we are updating the values and after submit is clicked, we are updating the variables to database using write to records smart service. But when we are doing the same, the values are getting updated in pv level, but not getting updated in database. All configurations are correct inside the process model. Not sure what is the gap in this? Please provide your insights.
Discussion posts and replies are publicly visible
I think you are updating PVs in a user task but they aren't saving to the database.Verify below expected scenario:-Updating a copy of the PVs instead of the originals.Data mapping issues in Write to Records smart service.
We tried updating the copy, the pv is updatedbut db is notWhen we updated value in script task, at that time, db was getting updated
Sarathkumar R said:When we updated value in script task, at that time, db was getting updated
What's this i don't get it?What you are doing in script task using a!writerecords() ??
I am not using write to records function in script task. In user input task, some certain values are being updated. These are not getting updated into database. But after user input task, for testing purpose, I updated some values using script task. The values which are updated using script task are being updated. After script task, we are having write to records smart service. Hope it clarifies now.