- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 02:41 PM
As an end-user, I can see the "Show Workflow" related link on requested item self service view. According to you, is it a best practice to hide it?
As an admin, I want to see, but as end-user I dont want to see it or go see technical workflow elements! How would i limit to be hidden from end-users.
There is nothing which seems to be intuitive on the Show Workflow button form. Suggestions?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 05:26 PM
Hi Service,
You have to put additional and condition in your UI action to hide it from others except admin.
gs.hasRole('admin') I.e Replace condition with below line.
!current.cat_item.workflow.nil() && !current.context.nil() && gs.hasRole('admin')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 02:47 PM
If you prefer not to be shown for non-admin users, you can do it by using an onLoad client script
//Hide the 'Related links' section for non-admin users
if(!g_user.hasRole('admin')){
$$('.related_links_container')[0].hide();
}
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 04:49 AM
Hi Sashikanth,
I want to show the workflow with end user. Is it possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 03:17 PM
just "show workflow" for request item self service view though for end users. itil users can still see it. Suggestions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2016 05:26 PM
Hi Service,
You have to put additional and condition in your UI action to hide it from others except admin.
gs.hasRole('admin') I.e Replace condition with below line.
!current.cat_item.workflow.nil() && !current.context.nil() && gs.hasRole('admin')