Skip to main content
Mar 23, 2017 8:24 AM UTC
Question

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

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

4 replies

Mar 28, 2017 6:14 AM UTC

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.

vuchekarAuthor
Mar 30, 2017 6:01 AM UTC

Hello David,

Thanks for your response.

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

Regards,

Vivek

Mar 15, 2019 8:25 PM UTC

Hi vuchekar,

 

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

 

Thanks much!