cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

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

vuchekar
9-Granite

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 4
d_graham
17-Peridot
(To:vuchekar)

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.

Hello David,

Thanks for your response.

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

Regards,

Vivek

Hi vuchekar,

 

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

 

Thanks much!

Hi David,

 

It would be of great help if you can share that code snippet that you have mentioned below here.

 

Thanks much!

Top Tags