Service Catalog item can be edited after submitted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 12:41 PM
I realized after a user orders a catalog item and checks out they can change their responses. After they checkout they can click on the item and basically fill it out again and hit update. This however does not update the workflow.
Has anyone else noticed this? Is there a way to stop them from editing it?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 01:24 PM
Hi Karlie,
You can add an onLoad client script on the sc_req_item table:
function onLoad() {
//Type appropriate comment here, and begin script below
if(g_user.hasRole('admin')) {
g_form.setVariablesReadOnly(false); //so admins can edit the variables
} else {
g_form.setVariablesReadOnly(true);
}
}
harel
Please mark as correct or helpful based on impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-21-2017 09:36 PM
HI Karlie,
You can go ahead and make all the variables read-only by UI Policy. Mark UI policy to run on Requested item and catalog task in case you want variables to be shown there.
Hope this helps you.