I am writing this simple web service method that can be called from InfoPath to Redirect the form to another user. Issue is I am not sure what to pass as the Platform for the call to OpenWorklistItem? Every example in help passes in the value "ASP". Since i am working with InfoPath, what is the proper value to be passed in.
Public Function RedirectWorklistItem(ByVal sK2ConnectionString As String, ByVal sUserName As String, ByVal sK2SerialNumber As String) As Boolean
Try
Dim oConnection As New SourceCode.K2ROM.Connection
Dim oWorklistItem As SourceCode.K2ROM.WorklistItem
oConnection.Open("k2megasrv", sK2ConnectionString)
oWorklistItem = oConnection.OpenWorklistItem(sK2SerialNumber, "InfoPath")
oWorklistItem.Redirect(sUserName)
Return True
Catch ex As Exception
Throw ex
Return False
End Try
End Function
OpenWorklistItem Platform Parameter??? For InfoPath?
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
