Setting Destinations based on fields in InfoPath forms

  • 25 July 2007
  • 2 replies
  • 0 views

Badge +2

If I put this in the wrong forum area I apologize up front.  Also, I am new to the K2 arena so I am sure there is a simple solution to my question so don't beat me up to much.


 Here is my example. I create an infopath form in my process.  Within the form I collect who the form should be sent to for approval.  How to I take this field and set it as the destination user?


 Thanks a bunch for all the help....


Jim


2 replies

Badge +2

Blake,


 I can't thank you enough.  Works great.  I just knew it was something simple.

Badge +3

Hi


 Its straight foraward. You will have all the form columns available in k2. Edit the K2 code in desination rule for particular activity and pick the user list using GetXMLValue function and add the users to the destination using K2.Destinations.Add method.


 hope this helps


 regards


S.Saba

Reply