Skip to main content

Hi All

 

How can we give workflow rights to the domain users while designing a workflow in Visual Studio or K2 Studio.

It doesn't give me any option like K2 Designer - 'Who can start this workflow....'. Now I have to everytime go in workspace and give the permission rights from there to the domain users.

 

Kindly suggest.

 

Thanks

Amit Jindal

Currently there isnt a way of setting workflow permissions using K2 Studio. When you set destination users within a process, K2 automatically gives the relivent permissions to the users you assinged for that particular activity.. With regards to the API check out this link, it details how you can make custom changes to the pre-existing user permissions for the process. 

 

http://help.k2.com/onlinehelp/k2blackpearl/DevRef/4.6.7/webframe.html#How_to_create_a_role.html

 


You can also see this link about how to set process permissions via code using the K2 API.  With a little bit of hacking, you can integrate this into an MSBuild task to use during deployment.


Reply