Datafield K2SharePointURL not found

  • 16 April 2005
  • 1 reply
  • 1 view

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 +7
Hi MadsNissen,

perhaps you have already resolved the issue.

The Succeeding Rule code you posted is typically only found in an InfoPath Activity. The K2SharePointURL is a Process Datafield that is created by the InfoPath Activity template wizard.

Did you by any chance copy an InfoPath Activity from an InfoPath process into the process in question?

Reply