List data type, update value using key

Is there an option to change existing value to new value for a particular key in a dictionary data type, or should we use remove followed by add to get this done.?

Hi @JayakumarSanthanam,

Check below links hope this will helps you.

If it works, mark it as solution.


HI @JayakumarSanthanam,

You can directly use an assign activity to modify the value for any key.
dict(“key”) = newValue

If the key is not present in the dictionary, then a new key value pair is created in this case.

Happy coding!:slight_smile: