OpenWorklistItem Platform Parameter??? For InfoPath?

  • 8 February 2006
  • 2 replies
  • 3 views

Badge +3
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

2 replies

Badge +3
Well I looked around the K2 DB and I noticed the Platform in _Worklist table for these InfoPath worklist items was "ASP".

For my information, what are the other valid values you can pass into the platform parameter and when would you pass in something other than "ASP"?
Badge +11
Please have a look at the following forum post:
http://forum.k2workflow.com/viewtopic.php?t=200

Regards,
Ockert

Reply