Skip to main content
Hello. I'm developing a workflow using an InfoPath form created in Visual Studio Tools for Applications (VSTA). The form on its own works fine when published to a SharePoint site (2003) before adding the K2 activities. (It retrieves data from a web service and populates text boxes and drop down lists with the data.)

When I add the K2 activities to the form and fill out the form from a SharePoint workspace, I get a script error upon opening the form:

Line: 331
Char: 5
Error: Expression expected
<code snippet removed>
URL: x-soln://9f0dc922bacd4f35a/taskpane_new.htm

I can ignore this error and still retrieve data on my form, however when I submit the form I receive this error: "The folio value could not be retrieved." The form is not submitted, so I am unable to view any other process data.

Has anyone had any similar experiences with Infopath, VSTA and K2?

Thank you,
Jake
Update: With help from K2 support, we found that the task pane was the issue. I ran the wizard again and uncheck the taskpane. I will be creating my own submit button to workaround the issue.

It still isn't clear why this happened, but at least I can go forth.

Thanks to anyone who gave it some thought.
Cheers,
Jake

Reply