- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 10:05 PM
Hello Team,
Is it possible to hide info messages displayed when adding roles.
currently when we add a role to a particular group i see list of info messages displayed in screen (Attached screen shot).
Is there a way to stop it ?
I tried to look up in business rules, client scripts and UI scripts but no luck.
Thank you,
Eash
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 10:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Update:
So, as promised here the follow up.
There are no Info Messages shown for the role assignments, when this is done via "After Transform Script".
Since the roles field is mandatory, I just entered a role, that is contained inside the roles I assign in the transform script.
Therefore endusers now have no annoying and confusing popups but I did not need to adjust the script include.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:24 PM
Instead of removing the users, why don't you just remove the active flag, and set them "locked out" - thats what we do.
Then they are easy to reactivate again
When you remove their user record, all your data history for this user is also lost.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:27 PM
This is for licensing purpose. If keep the user inactive with Roles, we are charged for licenses.
We are removing incative users from group member table and user role table.
Removed info is stored in temp table and applied back to user when they login back.
This way we can cut down users who just use system for approval and other overlook purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2016 11:34 PM
If you really want to modify the script include, then take a copy of it, and then call your own version in the business rule "Group Role Changed"
This way the impact when upgrading/patching is not so big - but you have to monitor if the original script include is changed when upgrading or patching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 10:27 PM
yes, it is possible to hide info messages displayed when adding roles by using " gs.flushMessages(); "
Modifying the OOB script include is risky. so, instead of changing OOB like "RoleManager" script include, line 141.
Use " gs.flushMessages(); " in BR where the role is getting added.