Skip to main content
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
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"?
Please have a look at the following forum post:
http://forum.k2workflow.com/viewtopic.php?t=200

Regards,
Ockert

Reply