Getting Prepopulated InfoPath Values into workflow - InfoPath Dev
in

InfoPath Dev

Getting Prepopulated InfoPath Values into workflow

Last post 05-01-2008 05:53 AM by sdlxcoupe. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 04-30-2008 03:32 PM

    Getting Prepopulated InfoPath Values into workflow

     Hi all,

        Hopefully I can get some help on this. Seems like a simple solution but I cannot find an example of how to do this anywhere.
     

    Here is my problem:

    I need to get values out of an already filled out infopath form into my workflow.

    My form is emailed in by sales people to a sharepoint document library. once this is done my workflow will be kicked off as they appear. I need to somehow gain access to the values in the form.
     

    If someone can even simply give me some code example of say something very simple like how to get the value from a textbox on the form.

    I am using visual studio 2008 for the workflow coding,sharepoint 2007 and infopath 2007. I have followed examples on the MSDN website for the Initiation and association stuff but that seems to work with a form being filled out while the workflow is running. I simple want to read what is in the form that the workflow is associated with.

     Any help would really be appreciated
     

     

     

    Filed under:
  • 04-30-2008 05:21 PM In reply to

    Re: Getting Prepopulated InfoPath Values into workflow

    Typically you would use promoted properties to make the field values you need appear in SharePoint. These can be setup in Form Options

    Are you doing this?

    Otherwise MSDN has a developer's reference that will give you the syntax for working with the form itself in multiple languages.

  • 04-30-2008 05:39 PM In reply to

    Re: Getting Prepopulated InfoPath Values into workflow

    I have seen and have used the promoted properties but i am trying to pass my values to a web service. I guess I could use that but i have about 40 values I am trying to capture. Didn't think I would need to use sharepoint as the go between.

    I will look into the MSDN developers reference and check back.

     

  • 05-01-2008 05:53 AM In reply to

    Re: Getting Prepopulated InfoPath Values into workflow

    I have found the answer to my question.

    Also here is a nice article on how to do various things with and to infopath forms with workflows

    http://www.sharepointnutsandbolts.com/2008/01/resources-from-my-workflow-deep-dive.html

    Hope this can help omeone else.

     

    I seem to be running into 1 more problem though.  I made a new post here:

    http://www.infopathdev.com/forums/p/7774/28451.aspx#28451

     

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.