K2 Event Destination Queue

  • 1 November 2010
  • 2 replies
  • 0 views

Badge +2

Good day all,


K2.NET 2003


I have a task(Task1) in which I wanted to select a user from my Windows form and route the case to (Task2) for that particular user. All the destination users that are on Task 1 will be on Task2. I just want to send the case to a particular user, so that all the users in that destination queue should not be able to see the case. I wanted to do this programatically by setting a Datafield "DestUser" and wanted to update the worklist item.


Please kindly assist.Thanks to all in advance.


Kind Regards


Kalyan


 


2 replies

Badge +13

So in Task2's destination code only assign the selected person and don't include the users in Task1.


    K2.Destinations.Add(DestinationType.User, "your domain name" & k2.processinstance.datafield("DestUser").Value)

Badge +2
Thanks a lot Peter. That worked like a charm.

Kind Regards
Kalyan

Reply