Bulk Update through custom script

I have created a button for bulk update via custom script but the problem is it is pushing the updated value on the doctype where that dialog box is opened but not on the list of peoples i have selected.
Any help ?

Solved. Please close this post

Why don’t you post the solution here for others too!


Currently I’m travelling, once free I will surely update my post

Had to use a for loop for each entry and then uset set_value method as

					"method": "frappe.client.set_value",
					"args": {
						"doctype": "doctype name",
						"name": unique_id[i],
						"fieldname": {
                                                      "time_t1": time_t1_s,
						     "add_chart": add_chart_s