Datafield K2SharePointURL not found

  • 18 April 2005
  • 1 reply
  • 4 views

Badge +3
I have a simplistic sharepoint workflow that responds on a document insert event and creates a sharepoint workspace. I get an error on the succeeding rule of the workspace creation:

Datafield K2SharePointURL not found

This error occurs in this code:

Public sub Main(ByRef K2 As SourceCode.KO.SucceedingRuleContext)

K2.SucceedingRule = True
If K2.SucceedingRule = True Then
DeleteTaskItems(K2,True)
DeleteTempIPFile(K2,True)
Else
DeleteTaskItems(K2,False)
DeleteTempIPFile(K2,False)
End If
CopyActInstDataToProcData(K2)
End Sub

Anyone know why this seemingly internal field (i don't know what it's for or where it's from) is missing from my workflow?

1 reply

Badge

I assume that this process is an InfoPath process correct?  If it is then it must have all of the following process data fields, which are created by default when you create a new InfoPath project.  This could happen if you copy an activity from an InfoPath or SharePoint Process to a non-InfoPath or non-SharePoint process.


K2CreateNewWS                   bool        true
K2DisableSubmitButton          bool        false
K2DisplayTaskPane               bool         true
K2DWSName                        String
K2DWSPath                          String
K2SharePointURL                   String      http://[sharepointserver]
K2ShowViewFlowLink             String
K2UserCachedViewFlowData   String
K2WSTemplate                       String

Reply