Skip to main content

Hi there.

I was tring to set item permissions to an user in a K2 workflow, and then got a problem.

To set item permissions to the specific users or groups which directly dragged from SharePoint can be easily done using the activities in K2 designer or K2 studio.

While I want to set item permissions to the user which is received dymanically from a database under some conditions.  

I tried to use "Remove List Item Permissons" and "Add User or Group Permissions to List" in the SmartObject of the List which is automatically sattled ,

But it seems not work.

 

Anyone get an idea about that?

 

Thanks a lot

Have you tried associating the datasource with a Role?

 

You can specify the role to be dynamic as well.

Please follow this path in the correct version of the K2 Blackpearl User Guide for more information on how to build this Designers > K2 Studio > Working with SmartObjects > SmartObjects > SmartObject used as a Role Item > Adding a Role using a SmartObject

 

Hope this helps!

Regards,

M


Reply