Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a master list (Projects) containing all the data about the projects my clients' employees (technical writers) are working on. When it's time for the writers to grab sign offs on the project they are working on, they run a workflow called, appropriately, "Send for Approvals".

The workflow itself is pretty simple: create some approval tasks for other individuals in the company based on selections made in the Projects list. The only problem is, the writers aren't double checking that they've made accurate selections before sending their items off for approvals, which is creating a huge administrative headache.

So, I've been trying to display the list item information for the specific list item on which the writers are running the workflow on its initiation form, customized in InfoPath 2010.

I know I need the List Item ID in order to do this and, after intense research, it appears that the only place the List Item ID is held during initiation is in the current URL, which is passed as a parameter into the workflow once it starts.

Can I get at that List Item ID in the URL, or is there another way?

Any help is appreciated.

FYI: I cannot use the InfoPath Form Web Part or any VB solutions.

share|improve this question
    
I added the tag 2010 since this is essential to soltion of asked question –  Gennady Vanin Геннадий Ванин Nov 21 '12 at 19:54

1 Answer 1

up vote 1 down vote accepted

This article seems to be helpful:

Update:
This article seems to refer to SPD2010 workflow on Sharepoint Foundation 2010 while on Sharepoint Server 2010 (and before but not after ( * )) any created workflow is based on Infopath forms. Read, for example in:

All the other (msdn) replies on the issue tell about impossibility to get list item data on a workflow initiation form:

though it is possible to set list item data on the following (not the initial) form:

( * )

On Sharepoint Server 2013 a workflow is impossible to have on Infopath forms

share|improve this answer
    
So, I was reading that blog a couple of days ago (albeit on my phone, since my company has an aggressively unhelpful IT security policy), and the thing I'm having a hard time with is the bit where he's talking about opening the initiation form in SPD. The form is an XSN, so it goes to InfoPath. Forcing it to open in SPD (when that actually worked, the one time), it looked like the markup he described was already in the form. I think I'm going to have to operate under the assumption that there's no way to pass that List Item ID into the initiation form. –  ChrisPEditor Nov 21 '12 at 15:39
    
Probably you should not have customized the Intiation Form in Infopath (having SPD workflow)? Can you try to remove its association with Infopath template if you do not have a lot of customizations: List settings > Form Settings > Use the default Sharepoint form ? You will still have possibiity to get back its association with Infopath template –  Gennady Vanin Геннадий Ванин Nov 21 '12 at 16:17
    
May I ask why have you tagged your question with both "sharepoint-designer" and "infopath" tags? –  Gennady Vanin Геннадий Ванин Nov 21 '12 at 16:50
    
Because the workflow is developed in SharePoint Designer and the initiation form is customized with InfoPath. I figured that if there was a solution to this, it was going to require some finagling in both programs. I'll try reverting the initiation form back to its default, see if the ASPX page is created, get back to you in a bit. –  ChrisPEditor Nov 21 '12 at 17:23
    
Checked both reverting the initiation form to default and checked to see if an ASPX page is created by default with an OOTB workflow. No luck. Everything's dynamically generated from IniWrkflIP.aspx, which appears to be a container for XML data. –  ChrisPEditor Nov 21 '12 at 17:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.