update multiple records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 02:06 AM - edited 01-25-2024 02:18 AM
Hi,
We have below requirement:
HR should be able to update user record on portal using record producer/or catalog with some variables like User, company and phone.
Scenario1: Select a single user record and update their details like company or phone
Scenario2: Select multiple users at once and if a company is selected it should update company details for all.
Scenario3: Select multiple users(a,b,c,d) at once and we should be able to update company (for a and b) and phone(for c and d)
How can we achieve this?
Please provide your inputs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2024 03:12 AM
Your scenarios will never work with the same record producer, because 2 and 3 are colliding: select multiple users and if company is selected, update all vs select multiple users and update company on a selection.
The only way this will work is by creating a multiple variable set, add the user, company and phone number, so users can be selected and changes to variables can be made. Then script your update of the user record from the changed values (make sure not to override company if only phone number is changed).
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark