- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 08:04 PM
Hi,
I want to hide Standard Change link in Change Request Interceptor if logged in user is in specific group.How can I achieve this.I have tried in calling method in the Script Include which returns true or false but it is not working.
Thanks
Ravi
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2018 08:52 PM
The only way you could hide this on basis of group is a query business rule on sys_wizard_answer table.
if(gs.getUser().isMemberOf('group_sys_id')){ //restrict for a particular group
current.addQuery('name','!=','answerName');
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2018 03:33 AM
Hi Gurpreet,
Thank you for your response. It is helpful. Could you please tell me purpose of the script field.
Thanks
Ravikiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2018 08:29 PM
Hi Ravikiran,
Unfortunately there's no documentation about but as per my understanding, whatever been written in that script will get executed whenever someone click on respective answer. So its not for hiding/displaying the answer but it defines what needs to be done after selection of that answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2019 05:01 AM
Hi Ravikiran,
Can you help tell me how this worked for you as I have created BR with same code but its not working for me.
Kindly help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2019 12:44 AM
Kindly post the BR code ,I am trying but working.
Thanks.