Skip to main content
Nintex Community Menu Bar

Delegate API?

  • June 25, 2008
  • 7 replies
  • 28 views

Forum|alt.badge.img+5

Hello,


     i want to use apsx to manage the process.


     But can't find the api to do  delegate or redirect to another user ?


    Tks


   

7 replies

Forum|alt.badge.img

I cant find delegate either but  Redirect we are using in our process it is in SourceCode.Workflow.Client


Look under WorkistItem Class


Forum|alt.badge.img+5
  • Author
  • July 2, 2008

redirect is in workclient api


but delegate isn't find it?


anybody can share it.


tks


Forum|alt.badge.img+10
  • Nintex Partner
  • July 2, 2008

I believe that delegate in the Workflow.Management API is hidden under the auspicious name of “SaveActionInstanceRights” give that a try. and please report back how that works.  Would be a good thing for everyone to know for sure.


Forum|alt.badge.img+5
  • Author
  • July 17, 2008

WorklistItem copy to new  ActionInstanceRight


SourceCode.Workflow.Management.WorkflowManagementServer.CreateActionInstanceRight(ActionInstanceRight)


can do like the Delegate fucation.


Forum|alt.badge.img+9
  • Nintex Partner
  • July 24, 2008

You can check out an example of how to do this with the Workflow.Management API here:


 http://k2underground.com/blogs/fromthebench/archive/2008/07/24/how-to-delegate-undelegate-a-worklistitem-via-api.aspx


 


Forum|alt.badge.img+5
  • Author
  • May 6, 2009

now i use the SourceCode.Workflow.Client to delegate


Dim dest As SourceCode.Workflow.Client.Destination = New SourceCode.Workflow.Client.Destination()
dest.DestinationType = SourceCode.Workflow.Client.DestinationType.User
dest.Name = ToUserId
WorklistItem.Delegate(dest)


Forum|alt.badge.img+2
  • May 12, 2009
I use the same code and it work perfectly. Remember to check your activity slot number because if you delegate another user and there's no slot free the task result in status allocated for the delegated user. To more info see tis post
http://www.k2underground.com/forums/thread/26487.aspx