I have tried to update the fields using the following expression, however the data which got from interface is becoming null and record type is updating only with the expression values. Can any one pick it up and shoot it?
Discussion posts and replies are publicly visible
It looks like the issue is happening because the record variable is being overwritten instead of just updating a few fields.
When using a!update(), make sure you are updating the existing record data and not replacing it completely.
a!update()
a!update inherently updates the existing record variable. we can see their code in the script task and i don't see anything to indicate they are overwriting the whole variable
I agree a!update() doesn’t overwrite the whole record. I was thinking the issue might be with the data being passed into it — maybe the record isn’t fully populated before the update.
It might help to check the record values right before the update step.