How to update user records through backend script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 01:04 AM
Hi All,
Need assistance on writing a backend script to update user records (a custom field) based on another custom field for 1000 records. Kindly suggest how to achieve this requirement.
Thanks
Kapil
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 03:35 AM
something like this.
HashID | Master ID | |
7d75cbc7dbf1e954d3ce7e72f3961944' | 1 | |
2bbfcf8fdb35e954d3ce7e72f39619d9 | 2 | |
199735b2db79e554d3ce7e72f3961915 | 3 | |
2979245a87fde114911cb8809bbb3513 | 4 | |
8ba218d2873de114911cb8809bbb3570 | 5 | |
542f8c1287f9e114911cb8809bbb35ae | 6 | |
143dc4d687b9e114911cb8809bbb35c3 | 7 | |
1a1f730e8735e114911cb8809bbb358f | 8 | |
bfc17fb0dbb52514d3ce7e72f39619c7 | 9 | |
adbd637cdb352514d3ce7e72f3961923 | 10 |
So i will call the function from backgroup script like Var x = new updateMasterID(hashid, master id);
so I need help to write this function updateMasterID in script include.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2023 06:39 AM
Don't code it. Write a flow. Soooo much easier.