Skip to main content
1-Visitor
March 23, 2017
Question

Is it possible to show or Hide Workflow Routings on basis of User acessing it ?

  • March 23, 2017
  • 1 reply
  • 1880 views

Hi All,

I have created change request workflow. my requirement is like, Admin group user has ability to "Reject" Change Request at any time, but at same time normal users This "Reject" routing must be hidden.

Is any way to do this.

Regards,

Vivek

1 reply

18-Opal
March 28, 2017

One option would be to disable "Reject" routing.

You can do this by adding transition code for this routing.  The code would simply get the session user and if the user is a normal user (not in the Admin group) throw an exception stating the user is not authorized for this routing.

vuchekar1-VisitorAuthor
1-Visitor
March 30, 2017

Hello David,

Thanks for your response.

Kindly please share sample code snippet if you have. it would be a grate help.

Regards,

Vivek

1-Visitor
March 15, 2019

Hi vuchekar,

 

Did you managed to achieve this functionality of hiding or disabling a routing ? If yes, please throw some light.

 

Thanks much!