Skip to main content
Nintex Community Menu Bar

How to get the OOF's Approve URL

  • February 17, 2009
  • 4 replies
  • 18 views

Forum|alt.badge.img+5

Use the flow code to get OOF's Worklist


But i can't get the right URL to approve? The OOF's URL doesn't like the Workspace will add &SharedUser=K2:aaabb


Can somebody help?


tks


Dim wlc As SourceCode.Workflow.Client.WorklistCriteria = New SourceCode.Workflow.Client.WorklistCriteria()
wlc.NoData = True
wlc.Platform = "ASP"
wlc.AddFilterField(SourceCode.Workflow.Client.WCLogical.Or, SourceCode.Workflow.Client.WCField.WorklistItemOwner, "Other", SourceCode.Workflow.Client.WCCompare.Equal, SourceCode.Workflow.Client.WCWorklistItemOwner.Other)
Dim wkList As SourceCode.Workflow.Client.Worklist = conn.OpenWorklist(wlc)
For Each item As WorklistItem In wkList
   ApproveURL = item.Data
           

4 replies

Forum|alt.badge.img+5
  • Author
  • February 19, 2009

Is there any K2 Professionaler can resolve the question?



Forum|alt.badge.img+11
  • February 19, 2009
Could you try restating your question?  Due to language differences it is difficult to understand what you are trying to ask.

Forum|alt.badge.img+5
  • Author
  • February 19, 2009

Just to setup Out Of Office by API and Approve it by  .aspx .

1. I use API to setup out of office.

in k2 docuement. Users > Out of Office Status > How to set a users Out of Office Status

2.  get User's shared worklist's url is not add  &SharedUser=K2:xxxx

    Question is :

     A. How to get the correct url by K2 API ?

     B. How to send notification & Escalation Mail for Deputy ?

3. And want to approve by the api

in k2 docuement. Processes > Accessing > How to Open a Worklist when Out of Office is
Activated

 

tks


Forum|alt.badge.img+5
  • Author
  • February 20, 2009

Find the way to get SharedUser's Approve URL

Must to distingusih by WorklistItem.AllocatedUser and Login User

Then  and the WorklistItem.Data + &SharedUser=WorklistItem.AllocatedUser

But still don't have idea for  B. How to send notification & Escalation Mail for Deputy ?