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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

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

vuchekar
10-Marble

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

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!

Announcements

Top Tags