Noel B
10/02/2025, 6:45 PMCeligo AI
10/02/2025, 6:45 PMAI generated answer (using internal Slack threads):To mass remove a role from employee records that only have one role, you can use SuiteScript or CSV Import. SuiteScript Approach: You can use SuiteScript to programmatically remove roles from employees. You would need to write a script that iterates over the employees you want to update, and for each employee, remove the specific role. However, the actual SuiteScript code was not provided in the conversations. CSV Import Approach: You can also use CSV Import to update the roles of employees. Here are the steps: 1. First, create a saved search to identify which users you want to remove the role from. 2. Use the search results to update those user's roles via CSV. Note that you also need to add all the other roles these users have in the load file, just minus the specific role you want to remove. 3. Use the user's internal ID as the key for your import. Your CSV file should look like this:
Employee Internal id, Role
xxx, XX|YY|ZZ
Where xxx is the employee's internal id, and XX, YY, ZZ are the internal ids of the roles you want to keep. The | character is used as the sublist delimiter for the role.
Please note that this approach might be a bit tricky and less straightforward than manually removing the roles, but it is less tedious.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/02/2025, 6:45 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834716856
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82812506
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8127442
Celigo AI
10/02/2025, 6:45 PM