I am wondering if it is possible in InfoPath 2010 to get the form's current location in a sharepoint site. Essentially, the form starts out where anyone can fill it in. When they click Submit, the form gets moved to another document library where a specific group of users have access to, and one of them (and them alone) can sign off on it. When they sign off on it, again it gets moved from that list to another list, where again a specific group of users can sign off on it.
I would like InfoPath to be able to determine the current document library the form resides in, so I can build logic to tell it what list to go to next.
So, the process would look something like this:
user fills out form
form checks for current location, if it is in List 1, then go to List 2
List 2 users sign off form, if it is in List 2, then go to List 3
List 3 users sign off form, if it is in List 3, complete the process
Any help will be greatly appreciated.
Thanks!