How to make editable variables on sc_req_item for specific role of people and after changing the value it become mandatory

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-08-2018 10:27 PM
Hi ,
Can any any one helpme out to make variable only specific role of people like "zym" only two variables like "Name" and "System Info" editable.
For same variable we already running ui policy running when user going to create the create then it hide the field and after creation of RITM it got reflected .
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-08-2018 11:04 PM
Hi Rajababu,
Probably you can create an onload catalog ui policy script/catalog client script to include role check.
Eg:
if(g_user.hasRole('abc_role'){
//Make the variables editable
}else{
//Make the variables read-only
}
Mark Correct if this solves your issue. Hit Like/Helpful based on the impact.
Regards,
Udhay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-09-2018 10:47 AM
Hi Uday ,
It partially worked .
When because specific group of people make edit on it .
But editing that value reflect to end user as read only mode.
It doesnt happened I tried many times by client and ui also.
Thanks,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-10-2018 11:30 PM
Hi Uday ,
It's not reflecting after make changes on it ,end user not able see..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-11-2018 03:31 AM
uday can you provide script ..