How to add destination user when activity is active

  • 8 February 2010
  • 0 replies
  • 0 views

Badge +1

Hello,


      Destinations users in my activity is coming from a SharePoint list via a SmartObject. We have a requirement that when the a new user is added to the SharePoint list, this new user need to be added as a destination user of already instantiated activity(if the process and activity instance was already created). So the new users can see the actions and take action on the work item. I know this is possible if I use Dynamic Role but I can't use roles in my situation. 


My idea was to write a SharePoint event handler that will call a web service which in turn adds this new user to all the activities that were instantiated. But I don't know how to find the activitities and add users to them like dynamic role.  Is it possible to programatically do this? Any code will be helpful. 


I saw a similar post here :


http://forum.k2workflow.com/forums/t/11189.aspx


but didn't find any solution.


 


Thanks


Ram


0 replies

Be the first to reply!

Reply