SAM Remove all allocation button auditing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 08:05 AM
If a user has clicked on "Remove all allocation": Ui Action on the remediate options form, then how do we track who click on it and who are the users whose allocations were removed.
We need to check if the right user allocation was removed or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 08:18 AM - edited 07-25-2025 08:20 AM
Hi @Rakesh18081
I don't have any instance with SAM activated. Can you please review or share the script from the UI Action "Remove all allocation" with us?
As it is an UI Action (a button), I would expect that tracking who clicked on it would be the person, I wouldn't expect me clicking on that button would result in removing your allocations... but let's see from the UI Action script, what it does.
EDIT: added second paragraph.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 11:40 AM
@GlideFather Looking forward to your support from a DEV. Tracking the removals could be tricky, as all allocations could be 10,100,1000 …. The activity logs does not seems to be the best place.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2025 11:42 AM
Hi @Rakesh18081,
do you think it’s a good practice to allow a user to remove all allocations and after this you want to know if the correct allocation was remove when the user used „remove ALL allocation“?
Wouldnt it be better to restrict this action and remove allocations based on a request/catalog item only for users allocated to and/or the SAM team.
Best, Dennis