Solved

InfoPath and SharePoint workflows - how do I reuse the same InfoPath form for multiple steps

Posted on 2008-11-03
4
960 Views
Last Modified: 2012-08-14
I am making a visual studio sharepoint workflow.  I am doing something similar to an approval workflow.  Basically, I want the same form to be used for each workflow step and any information added should be displayed for following steps.

1. How do I reuse the same form with the same data on different workflow steps?

2. Do I need to promote InfoPath variables to my list?
0
Comment
Question by:jackjohnson44
  • 2
4 Comments
 
LVL 25

Accepted Solution

by:
Robbie_Leggett earned 250 total points
ID: 22867710
You can create different views on the InfoPath form, incorporating the same fields, with the same data, as other views. You can also then add new items to the different views.
 
You only need to promote the InfoPath fields that you wish to show in the form library, the rest you can leave.
 
:-)
0
 

Author Comment

by:jackjohnson44
ID: 22867826
Thanks for the response, I am aware of the different views, which is the path that I am going to take, I just don't know how the form gets called/if I need to custom populate it.

For simplicity sake, pretend there is just one view, with three textboxes.  I want the same form to be used for three tasks, each user will just fill in their textbox, but can still see the information that was already entered.  How do you do this?  Do I create a task for each user?

step one (employee):
text1 ="employee entered this value"
text2=""
text3=""

step2 (manager)
text1 ="employee entered this value"
text2="manager entered this value"
text3=""

etc (president's task next) ....
0
 
LVL 28

Assisted Solution

by:clayfox
clayfox earned 250 total points
ID: 22904681
That is the whole concept of one form.  This data will reside in the form.

There is one data source yet different views and you can control what each person sees.  So on the initial view the user enters the first data and submits and closes.  Then you have an open rule which if the first field is not null (has data) assume you are at step two and show the second view which is for the second person and so on.

Best practice is to identify your users and verify the person opening the form is the one intended and to have a field which you set that specifies the step or stage of the workflow.  By using one form you can put all the logic in the form, which I think is much simpler than creating external workflows.
0
 

Author Comment

by:jackjohnson44
ID: 22905152
Thank you so much for getting back to me.

What you are describing is what I am trying to do.  I can understand if I just had a form that people would go edit one at a time, but how is a task involved? Aside from email, how will people know that they are supposed to do something.  I can create a task, but isn't that another instance of the same infopath form (which is not what I want)?  I don't see the relationship between a form library and a task list.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Problems running a .Net executable from Task Scheduler, program uses Process.Start 7 27
Syntax error 9 45
Turn on intranet settings 1 37
Sharepoint 2010 Auditing 4 17
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now