Show Workflow Related Link

Anna L
Tera Contributor

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?

find_real_file.png

1 ACCEPTED SOLUTION

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')


View solution in original post

6 REPLIES 6

I want to show that link to Groups and ITIL Role as well .

 

Please suggest

Abhinay Erra
Giga Sage

As pradeep mentioned, add gs.hasRole("admin") to   the ui action conditions. Do the same for all the tables.