Trying to get latest version of an InfoPath form from SharePoint

  • 3 September 2008
  • 1 reply
  • 0 views

Badge +3

I am trying to use the SharePoint 2003 Document event in K2.net Studio to get the latest version of an InfoPath form to use in my K2 process. I have tried writing the InfoPath form to: K2InfoPathSchema, TempInfoPathSchema, another XML field that I created, and finally a string datafield of the process. Every time I get the following error (id 613):


System.Exception: The path specified is being used in a substitute.
   at K2Code54985.Main(ServerEventContext& K2)


I'm not sure what else to try, so anyone has any ideas for me, I would really appreciate it!


Thanks,


Beth


 


1 reply

Badge +3

I solved my own problem. I was trying to get the latest version of an InfoPath form, but I hadn't yet put the file name into the datafield where I was looking for it. Once I changed the order of activities, it worked just fine.


So if you get this strange error, then make sure you don't have an empty file name!


 Beth

Reply