- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 04:33 AM
Hi All,
I need to create a user criteria to apply it for a catalog item, If the user is a memeber of the group that starts with "Hr_payroll" and the user should not be a part of the "HR_payroll_UK" group.
How should I add this condition in the scriptiing..?
Please help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 07:46 PM
@poornima batchu if the group names are not going to change frequently, you could try the following to avoid scripting...
Create the User Criteria record with one group to be included, then when you go to edit it, you will see the "Add/Remove multiple" option.
From the Edit Members modal, you can set a filter for "Name starts with HR_payroll" then select all from the left and move to the right. Then remove the two groups you want to exclude back to the left and save. Job done 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 07:46 PM
@poornima batchu if the group names are not going to change frequently, you could try the following to avoid scripting...
Create the User Criteria record with one group to be included, then when you go to edit it, you will see the "Add/Remove multiple" option.
From the Edit Members modal, you can set a filter for "Name starts with HR_payroll" then select all from the left and move to the right. Then remove the two groups you want to exclude back to the left and save. Job done 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 08:03 PM
Hi @poornima batchu,
Please respond if my suggestion helpful for your idea or knowledge.