# Update json value

**URL:** <https://forum.uipath.com/t/update-json-value/475468>\
**Category:** Something Else\
**Tags:** feedback, system, webapi, activities\
**Created:** [September 23, 2022, 4:05pm UTC](https://forum.uipath.com/t/update-json-value/475468 "2022-09-23T16:05:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhouha.cherif](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dhouha.cherif/32/267165_2.png) [@dhouha.cherif](https://forum.uipath.com/u/dhouha.cherif)\
**Post date:** [September 23, 2022, 4:05pm UTC](https://forum.uipath.com/t/update-json-value/475468/1 "2022-09-23T16:05:03Z")

</div>

Hello  
I need to update the value of a key (for example : customerName depends on the customer so it has to change everytime)  
Thank you in advance

---

<div class="post-metadata">

**Author:** ![supermanPunch](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/supermanpunch/32/133652_2.png) [@supermanPunch](https://forum.uipath.com/u/supermanPunch)\
**Post date:** [September 23, 2022, 4:24pm UTC](https://forum.uipath.com/t/update-json-value/475468/2 "2022-09-23T16:24:44Z")

</div>

Hi @dhouha.cherif ,

Take a look at the below :  
 ![image](https://global.discourse-cdn.com/uipath/original/4X/f/a/1/fa1aa50515a0814fb3b5fd7db50926ca7584428a.png)

Let us know if the above methods doesn’t help and provide us with more details on the Structure and Key to be updated for the Json.

---

<div class="post-metadata">

**Author:** ![dhouha.cherif](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dhouha.cherif/32/267165_2.png) [@dhouha.cherif](https://forum.uipath.com/u/dhouha.cherif)\
**Post date:** [September 25, 2022, 8:43pm UTC](https://forum.uipath.com/t/update-json-value/475468/3 "2022-09-25T20:43:32Z")

</div>

i’m sorry but i did not understand what should i do

---

<div class="post-metadata">

**Author:** ![supermanPunch](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/supermanpunch/32/133652_2.png) [@supermanPunch](https://forum.uipath.com/u/supermanPunch)\
**Post date:** [September 26, 2022, 7:51am UTC](https://forum.uipath.com/t/update-json-value/475468/4 "2022-09-26T07:51:17Z")

</div>

@dhouha.cherif ,

As I have performed the assignment of value in the immediate panel, we could also do the same using an `Assign` Activity :

I have got the data or the Structure of Json from another post of yours which seems to be in line with this post or a Duplicate :

> [@Update value of a json file](https://forum.uipath.com/t/update-value-of-a-json-file/475772):
>
> Hello everyone I need to update a value in a json file (code\_client) { “key\_api” :“xxxx”, “code\_client” :“”, “msisdn” :“aaaaa”, “nom\_signataire” :“yyyy” } it should’nt be empty like it is in the json file it should be attributed in an assign activity. Please help me it is urgent

Check the workflow Sequence image below, After the Assignment of value to that key in the Json Object the value is updated we could see it from the immediate panel. We use immediate panel /Debugging mechanism for faster displaying of results.

 ![image](https://global.discourse-cdn.com/uipath/original/4X/3/1/3/3132e29e0c457e3ee6ff343f7672a26832bd980b.png)

---

<div class="post-metadata">

**Author:** ![dhouha.cherif](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/dhouha.cherif/32/267165_2.png) [@dhouha.cherif](https://forum.uipath.com/u/dhouha.cherif)\
**Post date:** [September 26, 2022, 8:11am UTC](https://forum.uipath.com/t/update-json-value/475468/5 "2022-09-26T08:11:40Z")

</div>

It worked thank you very much

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [September 29, 2022, 8:12am UTC](https://forum.uipath.com/t/update-json-value/475468/6 "2022-09-29T08:12:34Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
