2) Create a query business rule on "sys_app_module" table and show "Open - Unassigned" left navigation module (under Incident application menu) for "Incident Management" group users and hide for other users. 3) Create an async business rule on Probl
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 06:19 PM
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2020 06:58 AM
What kind of answer are you expecting? For us to teach you javascript in a single reply?
Are you wanting us to write the answer to the question in the title for you?
If so, there's not enough context, and the question is structured too poorly.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2020 03:50 AM
Hi Charitha,
I think you can find it here Hide Application Module based on Group membership.
(function executeRule(current, previous /*null when async*/) {
if(gs.getUser().isMemberOf('Incident Management')){
current.addQuery('title','!=','Open - Unassigned');
}
})(current, previous);